summary refs log tree commit diff stats
path: root/hooks/post-up
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/post-up')
-rwxr-xr-xhooks/post-up/zsh7
1 files changed, 7 insertions, 0 deletions
diff --git a/hooks/post-up/zsh b/hooks/post-up/zsh
index b31a8cb4..7ed08de4 100755
--- a/hooks/post-up/zsh
+++ b/hooks/post-up/zsh
@@ -1,6 +1,13 @@
 #!/usr/bin/env zsh
 ZDOTDIR="${XDG_CONFIG_HOME:~/.config}/zsh"
 
+pushd $ZDOTDIR
+for f in z*(-.)
+do
+	[[ -e .$f ]] || ln $f .$f
+done
+popd
+
 if [[ ! -d ~/.cache/zsh ]]
 then
 	mkdir -p ~/.cache/zsh