summary refs log tree commit diff stats
path: root/hooks/post-up/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/post-up/zsh')
-rwxr-xr-xhooks/post-up/zsh22
1 files changed, 11 insertions, 11 deletions
diff --git a/hooks/post-up/zsh b/hooks/post-up/zsh
index b7a7d4a2..3eef6e51 100755
--- a/hooks/post-up/zsh
+++ b/hooks/post-up/zsh
@@ -4,26 +4,26 @@ 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
+  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
+  mkdir -p ~/.cache/zsh
 fi
 
 if [[ -z $commands[zplug] && ! -d ~/projects/zplug/ ]]
 then
-	git clone git://github.com/zplug/zplug ~/projects/zplug/
+  git clone git://github.com/zplug/zplug ~/projects/zplug/
 fi
 
 zsh -ic "zplug install"