diff options
author | Christo Kotze <onaforeignshore@hotmail.co.uk> | 2018-02-11 06:17:50 +0300 |
---|---|---|
committer | Christo Kotze <onaforeignshore@hotmail.co.uk> | 2018-02-11 06:17:50 +0300 |
commit | cd1387f530450889c386ab48b7076987eadbff06 (patch) | |
tree | 44ed892dcf22c8abe16a81c36c968a1b2cae8b01 /powerlevel9k.zsh-theme | |
parent | 8b8dcb20663e56c09ea12d7743a8a139a339cc56 (diff) |
Fixed reset bold on last dir missing.
Missed the `%b` on making the last dir bold which leaked into the
command prompt.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index e7d3f1f1..fe660bc5 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -871,7 +871,7 @@ prompt_dir() { if [[ $path_opt == "/" || $path_opt == "~" || $(dirname $path_opt) == "/" || ${POWERLEVEL9K_DIR_OMIT_FIRST_CHARACTER} ]]; then current_path="$bd%F{$POWERLEVEL9K_DIR_PATH_HIGHLIGHT_FOREGROUND}$current_path%F{$dir_state_foreground}%b" else - current_path="$(dirname $current_path)/$bd%F{$POWERLEVEL9K_DIR_PATH_HIGHLIGHT_FOREGROUND}$(basename $current_path)%F{$dir_state_foreground}" + current_path="$(dirname $current_path)/$bd%F{$POWERLEVEL9K_DIR_PATH_HIGHLIGHT_FOREGROUND}$(basename $current_path)%F{$dir_state_foreground}%b" fi fi |