diff options
author | Christo Kotze <onaforeignshore@hotmail.co.uk> | 2018-02-23 08:56:42 +0300 |
---|---|---|
committer | Christo Kotze <onaforeignshore@hotmail.co.uk> | 2018-02-23 08:56:42 +0300 |
commit | b723800b801f8bfc1aa997eea1f03d4279f96f3e (patch) | |
tree | 0b047d7cbbd58483c5687436d043f2597f0dc5d4 /powerlevel9k.zsh-theme | |
parent | 99e62532bb1cab11df5f86d021014930a94bed0d (diff) |
Fixed typo - ~= instead of !=
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 051ffb8f..d60219eb 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -766,7 +766,7 @@ prompt_dir() { for (( i=$POWERLEVEL9K_SHORTEN_DIR_LENGTH; i<$num; i++ )); do paths[$i+1]=$POWERLEVEL9K_SHORTEN_DELIMITER done - [[ $current_path ~= '~'* ]] && current_path="/" || current_path="" + [[ $current_path != '~'* ]] && current_path="/" || current_path="" current_path+="${(j:/:)paths}" fi fi |