all repos — archive/dotfiles @ 778c6addbea42d251d90618084c7c535927dc15c

Superseded by nixfiles

zsh: Add and configure per-directory-history
Alan Pearce alan@alanpearce.co.uk
Sun, 06 Jul 2014 12:08:43 +0100
commit

778c6addbea42d251d90618084c7c535927dc15c

parent

4493b4bd771964bc228562ad47c68b07a348332c

2 files changed, 10 insertions(+), 0 deletions(-)

jump to
A .gitmodules
@@ -0,0 +1,3 @@+[submodule "tag-zsh/config/zsh/per-directory-history"]
+	path = tag-zsh/config/zsh/per-directory-history
+	url = git://github.com/jimhester/per-directory-history.git
M tag-zsh/config/zsh/zshrctag-zsh/config/zsh/zshrc
@@ -361,6 +361,13 @@ fi 	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 ]]