zsh: Add and configure per-directory-history
Alan Pearce alan@alanpearce.co.uk
Sun, 06 Jul 2014 12:08:43 +0100
2 files changed, 10 insertions(+), 0 deletions(-)
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/zshrc → tag-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 ]]