summary refs log tree commit diff stats
path: root/tag-zsh
diff options
context:
space:
mode:
authorAlan Pearce2014-07-06 13:59:41 +0100
committerAlan Pearce2014-07-06 13:59:41 +0100
commit0d017a702eaad796ac1b6a0ccd4cf201a657139d (patch)
tree1fe0d6f9a50e2034934e0ce1f11be38377527ae9 /tag-zsh
parent4865dcc52eea524868e9a32dd22105848e8f484e (diff)
downloadnixfiles-0d017a702eaad796ac1b6a0ccd4cf201a657139d.tar.lz
nixfiles-0d017a702eaad796ac1b6a0ccd4cf201a657139d.tar.zst
nixfiles-0d017a702eaad796ac1b6a0ccd4cf201a657139d.zip
zsh: Re-assert default key-binding for history
Filed jimhester/per-directory-history#6 to see if this can be changed
Diffstat (limited to 'tag-zsh')
-rwxr-xr-xtag-zsh/config/zsh/zshrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index 0d65ccd9..a2ac5034 100755
--- a/tag-zsh/config/zsh/zshrc
+++ b/tag-zsh/config/zsh/zshrc
@@ -365,6 +365,8 @@ if [[ -e $ZDOTDIR/per-directory-history/per-directory-history.zsh ]]
 then
 	HISTORY_BASE=~/.cache/zsh/dirhist
 	source $ZDOTDIR/per-directory-history/per-directory-history.zsh
+	bindkey '^G' send-break
+	bindkey '^[^G' per-directory-history-toggle-history
 else
 	echo "per-directory-history is missing"
 fi