summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2018-10-02 21:31:26 +0200
committerGitHub <noreply@github.com>2018-10-02 21:31:26 +0200
commitac3b345365354252b7c264d5ff4fe6957c11798d (patch)
tree2c0c449989603e508037de58995b5aaf336f2dea /themes
parenta8e69686aa6c782eed3d749de5fb54758de10734 (diff)
downloadzsh-ac3b345365354252b7c264d5ff4fe6957c11798d.tar.gz
zsh-ac3b345365354252b7c264d5ff4fe6957c11798d.tar.bz2
zsh-ac3b345365354252b7c264d5ff4fe6957c11798d.zip
dircycle: trigger appropriate hooks after directory change (#7161)
This commit triggers precmd and chpwd hook functions iff we changed directory. This has the same behavior as zsh's hook function execution, which tries to run the functions in the order specified and silently ignores any function that does not exist. See http://zsh.sourceforge.net/Doc/Release/Functions.html#Hook-Functions Also moved duplicate nopushdminus logic to the `switch-to-dir` function.
Diffstat (limited to 'themes')
0 files changed, 0 insertions, 0 deletions