zsh: add cd - on startup capabilities

This commit is contained in:
PowerUser64 2021-10-16 18:27:49 -07:00
parent fda0750475
commit bfb8292b99

4
.zshrc
View file

@ -704,6 +704,10 @@ autoload -U add-zsh-hook
add-zsh-hook precmd mzc_termsupport_precmd
add-zsh-hook preexec mzc_termsupport_preexec
# <<<
# allow `cd -` on loading zsh >>>
load_working_dir
cd - > /dev/null
# <<<
# <<<
# Optionally source the user's customized .zshrc