mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-16 17:50:09 +00:00
Fixed typo - ~= instead of !=
This commit is contained in:
parent
99e62532bb
commit
b723800b80
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue