zsh: add cd -
on startup capabilities
This commit is contained in:
parent
fda0750475
commit
bfb8292b99
1 changed files with 4 additions and 0 deletions
4
.zshrc
4
.zshrc
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue