summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
m---------tag-zsh/config/zsh/per-directory-history0
-rwxr-xr-xtag-zsh/config/zsh/zshrc7
3 files changed, 10 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..babccc4
--- /dev/null
+++ b/.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
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 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 ]]