From beb59e0d5d2f78e25970eff217ff1621e8aaa45d Mon Sep 17 00:00:00 2001 From: Mirco Macrelli Date: Tue, 12 May 2015 17:55:23 +0200 Subject: [PATCH] Fix dirhistory on OS X Terminal.app --- plugins/dirhistory/dirhistory.plugin.zsh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/dirhistory/dirhistory.plugin.zsh b/plugins/dirhistory/dirhistory.plugin.zsh index d101cfcae..e621ef3e3 100644 --- a/plugins/dirhistory/dirhistory.plugin.zsh +++ b/plugins/dirhistory/dirhistory.plugin.zsh @@ -122,11 +122,14 @@ bindkey "\e[1;3D" dirhistory_zle_dirhistory_back bindkey "\e\e[D" dirhistory_zle_dirhistory_back # GNU screen: bindkey "\eO3D" dirhistory_zle_dirhistory_back +# OS X Terminal.app +bindkey "^[b" dirhistory_zle_dirhistory_back zle -N dirhistory_zle_dirhistory_future bindkey "\e[3C" dirhistory_zle_dirhistory_future bindkey "\e[1;3C" dirhistory_zle_dirhistory_future bindkey "\e\e[C" dirhistory_zle_dirhistory_future bindkey "\eO3C" dirhistory_zle_dirhistory_future - +# OS X Terminal.app +bindkey "^[f" dirhistory_zle_dirhistory_future