mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
themes/cupcase: Remove dup def of "virtualenv_prompt"
This commit is contained in:
@@ -49,14 +49,6 @@ icon_end="└❯ "
|
||||
|
||||
# FUNCTIONS ===================================================================
|
||||
|
||||
# Display virtual environment info
|
||||
function virtualenv_prompt {
|
||||
if [[ -n "$VIRTUAL_ENV" ]]; then
|
||||
virtualenv=`basename "$VIRTUAL_ENV"`
|
||||
echo -e "$VIRTUALENV_CHAR$virtualenv "
|
||||
fi
|
||||
}
|
||||
|
||||
# Rename tab
|
||||
function tabname {
|
||||
printf "\e]1;$1\a"
|
||||
|
||||
Reference in New Issue
Block a user