X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=72fde6edb36784ab9131c4cbd753f74bd8d45f06;hb=cdc48e89c5ae0fe84ae458a20ebdd36282a2e81c;hp=b6c83757dc2f9b0ed75e641b86f6132a803de06a;hpb=c8be9a7f9fef6dc37c8305a6030bad29f20b4d62;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index b6c8375..72fde6e 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -1622,7 +1622,7 @@ if [[ -f ${DIRSTACKFILE} ]] && [[ ${#dirstack[*]} -eq 0 ]] ; then # directories from the saved dir-stack file. dirstack=( ${(f)"$(< $DIRSTACKFILE)"}(N) ) # "cd -" won't work after login by just setting $OLDPWD, so - [[ -d $dirstack[1] ]] && cd $dirstack[1] && cd $OLDPWD + [[ -d $dirstack[1] ]] && cd -q $dirstack[1] && cd -q $OLDPWD fi if zstyle -T ':grml:chpwd:dirstack' filter-on-load; then