diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2021-03-31 17:13:28 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2021-03-31 17:13:28 -0600 |
commit | b6baa00fd2d8e44b5abda20f95461942b615258c (patch) | |
tree | bee316446409245d86dba5dc70502486831734d1 /plugins/dirhistory | |
parent | 0a67be1024b1e54b6af59f01b01ceace9fdf7bb2 (diff) | |
parent | 2d40b562e5da4c885babc1f7f09aa33a8a891eb2 (diff) | |
download | zsh-b6baa00fd2d8e44b5abda20f95461942b615258c.tar.gz zsh-b6baa00fd2d8e44b5abda20f95461942b615258c.tar.bz2 zsh-b6baa00fd2d8e44b5abda20f95461942b615258c.zip |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'plugins/dirhistory')
-rw-r--r-- | plugins/dirhistory/dirhistory.plugin.zsh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/dirhistory/dirhistory.plugin.zsh b/plugins/dirhistory/dirhistory.plugin.zsh index 35c43d76a..ec1606940 100644 --- a/plugins/dirhistory/dirhistory.plugin.zsh +++ b/plugins/dirhistory/dirhistory.plugin.zsh @@ -108,16 +108,16 @@ function dirhistory_forward() { # Bind keys to history navigation function dirhistory_zle_dirhistory_back() { # Erase current line in buffer - zle kill-buffer - dirhistory_back - zle accept-line + zle .kill-buffer + dirhistory_back + zle .accept-line } function dirhistory_zle_dirhistory_future() { # Erase current line in buffer - zle kill-buffer + zle .kill-buffer dirhistory_forward - zle accept-line + zle .accept-line } zle -N dirhistory_zle_dirhistory_back @@ -160,15 +160,15 @@ function dirhistory_down() { # Bind keys to hierarchy navigation function dirhistory_zle_dirhistory_up() { - zle kill-buffer # Erase current line in buffer + zle .kill-buffer # Erase current line in buffer dirhistory_up - zle accept-line + zle .accept-line } function dirhistory_zle_dirhistory_down() { - zle kill-buffer # Erase current line in buffer + zle .kill-buffer # Erase current line in buffer dirhistory_down - zle accept-line + zle .accept-line } zle -N dirhistory_zle_dirhistory_up |