We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a628c10 + 2ecde4b commit 64ebb3fCopy full SHA for 64ebb3f
agkozak-zsh-prompt.plugin.zsh
@@ -138,7 +138,7 @@ _agkozak_is_ssh() {
138
############################################################
139
_agkozak_prompt_dirtrim() {
140
[[ $1 -ge 1 ]] || set 2
141
- AGKOZAK_NAMED_DIRS=${AGKOZAK_NAMED_DIRS:-1}
+ typeset -g AGKOZAK_NAMED_DIRS=${AGKOZAK_NAMED_DIRS:-1}
142
if (( AGKOZAK_NAMED_DIRS )); then
143
local zsh_pwd
144
zsh_pwd=$(print -Pn '%~')
0 commit comments