summary refs log tree commit diff stats
path: root/hooks/post-up
diff options
context:
space:
mode:
authorAlan Pearce2017-03-20 12:42:46 +0100
committerAlan Pearce2017-03-20 12:42:46 +0100
commit061b7a0149c62f53a75f7f0e8ad63836acf4e334 (patch)
treea267cde00f0f41082ab71e9e5cf9c451f0ba38c2 /hooks/post-up
parentf8ec71a117760f22e2573f1a6d072547d6410f21 (diff)
downloadnixfiles-061b7a0149c62f53a75f7f0e8ad63836acf4e334.tar.lz
nixfiles-061b7a0149c62f53a75f7f0e8ad63836acf4e334.tar.zst
nixfiles-061b7a0149c62f53a75f7f0e8ad63836acf4e334.zip
Move zsh install commands to readme
Diffstat (limited to 'hooks/post-up')
-rwxr-xr-xhooks/post-up/zsh29
1 files changed, 0 insertions, 29 deletions
diff --git a/hooks/post-up/zsh b/hooks/post-up/zsh
deleted file mode 100755
index 3eef6e51..00000000
--- a/hooks/post-up/zsh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env zsh
-ZDOTDIR="${XDG_CONFIG_HOME:=~/.config}/zsh"
-
-pushd $ZDOTDIR
-for f in z*(-.)
-do
-  if [[ -e .$f ]]
-  then
-    if [[ ! -h .$f ]]
-    then
-      echo ".$f already exists as a regular file, ignoring"
-    fi
-  else
-    ln -s $f .$f
-  fi
-done
-popd
-
-if [[ ! -d ~/.cache/zsh ]]
-then
-  mkdir -p ~/.cache/zsh
-fi
-
-if [[ -z $commands[zplug] && ! -d ~/projects/zplug/ ]]
-then
-  git clone git://github.com/zplug/zplug ~/projects/zplug/
-fi
-
-zsh -ic "zplug install"