diff options
author | Christo Kotze <onaforeignshore@hotmail.co.uk> | 2018-02-10 14:41:40 +0300 |
---|---|---|
committer | Christo Kotze <onaforeignshore@hotmail.co.uk> | 2018-02-10 14:41:40 +0300 |
commit | 8b8dcb20663e56c09ea12d7743a8a139a339cc56 (patch) | |
tree | 4fc4bcd553386c2efcc280cde852a24add9d52bb /powerlevel9k.zsh-theme | |
parent | ccba1cc8233143f7e360a3ab3ff61b7175327acf (diff) |
Last dir bold - missed reset
Missed the bold reset code `%b` in the logic, which caused everthing
after the last dir to be bold, including the command line entry.
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 faaa32ec..e7d3f1f1 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -869,7 +869,7 @@ prompt_dir() { if [[ -n "${POWERLEVEL9K_DIR_PATH_HIGHLIGHT_FOREGROUND}" ]]; then 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}" + 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}" fi |