themes/cupcase: Remove dup def of "virtualenv_prompt"

This commit is contained in:
Koichi Murase
2021-12-27 23:53:16 +09:00
parent cc2e8a87f9
commit 81535a1e49
-8
View File
@@ -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"