diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2015-12-15 05:21:24 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2015-12-15 05:21:24 +0300 |
commit | cd5b4d0debac05a74131f06efa918172586865ec (patch) | |
tree | 630cc3ae48388472412c932147b5bf1940638cc7 /powerlevel9k.zsh-theme | |
parent | 056d4ff29ac1dbacc6be0d3b99160a493e47ab1c (diff) |
Added the "state" concept to the `dir` segment.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 04e29a2d..df11bb5d 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -394,9 +394,9 @@ prompt_dir() { local current_icon='' if [[ $(print -P "%~") == '~'* ]]; then - "$1_prompt_segment" "$0" "blue" "$DEFAULT_COLOR" "$current_path" 'HOME_ICON' + "$1_prompt_segment" "$0_HOME" "blue" "$DEFAULT_COLOR" "$current_path" 'HOME_ICON' else - "$1_prompt_segment" "$0" "blue" "$DEFAULT_COLOR" "$current_path" 'FOLDER_ICON' + "$1_prompt_segment" "$0_DEFAULT" "blue" "$DEFAULT_COLOR" "$current_path" 'FOLDER_ICON' fi } |