summaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2016-05-27 18:53:02 +0300
committerBen Hilburn <bhilburn@gmail.com>2016-05-27 18:53:02 +0300
commit41888bf2a96e13a33db696c51963986472c9d91f (patch)
tree931f8ce0d5d01cce2cb3d0372124703b9bb36b00 /powerlevel9k.zsh-theme
parent66ece8677312bbc709a9bf83c9c7d8efdfdd2024 (diff)
parent086cd1fdcf17f722602a72718520582556ceb18e (diff)
Merge pull request #260 from thuandt/python-icon
PYTHON ICON for virtualenv prompt
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 16f4589d..4206bf51 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -931,7 +931,7 @@ prompt_vi_mode() {
prompt_virtualenv() {
local virtualenv_path="$VIRTUAL_ENV"
if [[ -n "$virtualenv_path" && "$VIRTUAL_ENV_DISABLE_PROMPT" != true ]]; then
- "$1_prompt_segment" "$0" "$2" "blue" "$DEFAULT_COLOR" "($(basename "$virtualenv_path"))"
+ "$1_prompt_segment" "$0" "$2" "blue" "$DEFAULT_COLOR" "$(basename "$virtualenv_path")" 'PYTHON_ICON'
fi
}