From 778c6addbea42d251d90618084c7c535927dc15c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 6 Jul 2014 12:08:43 +0100 Subject: zsh: Add and configure per-directory-history --- tag-zsh/config/zsh/per-directory-history | 1 + tag-zsh/config/zsh/zshrc | 7 +++++++ 2 files changed, 8 insertions(+) create mode 160000 tag-zsh/config/zsh/per-directory-history (limited to 'tag-zsh/config') diff --git a/tag-zsh/config/zsh/per-directory-history b/tag-zsh/config/zsh/per-directory-history new file mode 160000 index 0000000..f697869 --- /dev/null +++ b/tag-zsh/config/zsh/per-directory-history @@ -0,0 +1 @@ +Subproject commit f69786943ec77fea2315b647d4fae86f4e5af5a8 diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index 350327c..11c9284 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 ]] -- cgit 1.4.1