Skip to content

Commit e456875

Browse files
committed
AGKOZAK_NAMED_DIRS is set to 1 by default
1 parent 9564031 commit e456875

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

agkozak-zsh-prompt.plugin.zsh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ _agkozak_is_ssh() {
137137
############################################################
138138
_agkozak_prompt_dirtrim() {
139139
[[ $1 -ge 1 ]] || set 2
140+
AGKOZAK_NAMED_DIRS=${AGKOZAK_NAMED_DIRS:-1}
140141
if (( AGKOZAK_NAMED_DIRS )); then
141142
local zsh_pwd
142143
zsh_pwd=$(print -Pn '%~')

0 commit comments

Comments
 (0)