summaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorThuan (Duong Tien) <thuan@trobz.com>2016-05-04 17:48:46 +0300
committerThuan (Duong Tien) <thuan@trobz.com>2016-05-04 17:48:46 +0300
commit086cd1fdcf17f722602a72718520582556ceb18e (patch)
treef0953cb3a4214028d2f32e9e8557e012fc46721c /powerlevel9k.zsh-theme
parentec25e3b3af394991b36e86dadd1378e449790df4 (diff)
[ADD] python icon in 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 bf313b85..285f4f02 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -930,7 +930,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
}