Skip to content
Permalink
Browse files

fix the check for z

when not running in interactive mode the shell function and alias don't
show up so we re-install EVERY time.
  • Loading branch information...
Matt Katz Matt Katz
Matt Katz authored and Matt Katz committed May 2, 2019
1 parent cab35cc commit aa929ef34889a60e13a266b6c1b88dc5179cb93c
Showing with 2 additions and 1 deletion.
  1. +2 −1 mattstart.sh
@@ -1,4 +1,4 @@
#!/bin/zsh
#!/bin/zsh -i
echo -e "lets use some colors"
RED='\033[0;31m'
GREEN='\033[0;32m'
@@ -33,6 +33,7 @@ else
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
echo -e "oh-my-zsh should be installed now"
fi

# clone my vim config
if [ -d "$HOME/.vim" ]
then

0 comments on commit aa929ef

Please sign in to comment.
You can’t perform that action at this time.