expand zsh collapsed_pwd

This commit is contained in:
rydesun 2023-05-18 02:01:51 +08:00
parent ce2fd26263
commit ccbe950ba9
2 changed files with 11 additions and 10 deletions

2
.zshrc
View file

@ -147,7 +147,7 @@ Z_COLLAPSED_PWD_RESERVE_COMPONENTS=1
# 最大路径长度(非严格)
Z_COLLAPSED_PWD_MAX_LENGTH=32
# 当空间足够时,尽可能展开最后一个压缩的目录名
#Z_COLLAPSED_PWD_EXPAND_LAST=yes
Z_COLLAPSED_PWD_EXPAND_LAST=yes
autoload -Uz collapsed_pwd
precmd() {