summary refs log tree commit diff stats
path: root/tag-zsh/config
diff options
context:
space:
mode:
authorAlan Pearce2014-07-06 12:08:43 +0100
committerAlan Pearce2014-07-06 12:08:43 +0100
commit778c6addbea42d251d90618084c7c535927dc15c (patch)
treedc8426af8e3a7c58ba77b1ccc48de6d469b496b3 /tag-zsh/config
parent4493b4bd771964bc228562ad47c68b07a348332c (diff)
downloadnixfiles-778c6addbea42d251d90618084c7c535927dc15c.tar.lz
nixfiles-778c6addbea42d251d90618084c7c535927dc15c.tar.zst
nixfiles-778c6addbea42d251d90618084c7c535927dc15c.zip
zsh: Add and configure per-directory-history
Diffstat (limited to 'tag-zsh/config')
m---------tag-zsh/config/zsh/per-directory-history0
-rwxr-xr-xtag-zsh/config/zsh/zshrc7
2 files changed, 7 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/per-directory-history b/tag-zsh/config/zsh/per-directory-history
new file mode 160000
+Subproject f69786943ec77fea2315b647d4fae86f4e5af5a
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index 350327c9..11c92847 100755
--- a/tag-zsh/config/zsh/zshrc
+++ b/tag-zsh/config/zsh/zshrc
@@ -361,6 +361,13 @@ ec () {
 	fi
 }
 
+if [[ -e $ZDOTDIR/per-directory-history/per-directory-history.zsh ]]
+then
+	source $ZDOTDIR/per-directory-history/per-directory-history.zsh
+else
+	echo "per-directory-history is missing"
+fi
+
 _FASD_DATA="$HOME/.cache/zsh/fasd-data"
 autoload -U fasd
 if [[ -e ~/.cache/zsh/fasd-init-zsh ]]