Commit 67db6b2b429f4638a535d9665aafeb128f3cc612
1 parent
7090007579
Exists in
master
and in
2 other branches
install.sh: small improvements
Showing 1 changed file with 2 additions and 4 deletions Side-by-side Diff
tools/install.sh
... | ... | @@ -5,13 +5,13 @@ if [ ! -n "$ZCNF" ]; then |
5 | 5 | fi |
6 | 6 | |
7 | 7 | if [ ! -n "$ZSH" ]; then |
8 | - ZSH=~/.config/zsh-config/tools/oh-my-zsh | |
8 | + ZSH=$ZCNF/tools/oh-my-zsh | |
9 | 9 | fi |
10 | 10 | |
11 | 11 | echo "\033[0;34mCloning Zsh Config...\033[0m" |
12 | 12 | hash git >/dev/null 2>&1 && env git clone --depth=1 http://git.str8.biz/mj/zsh-config.git $ZCNF || { |
13 | 13 | echo "can't clone repo.. trying to pull" |
14 | - hash git >/dev/null 2>&1 && env git clone --depth=1 http://git.str8.biz/mj/zsh-config.git $ZCNF || { | |
14 | + hash git >/dev/null 2>&1 && env git pull --depth=1 http://git.str8.biz/mj/zsh-config.git $ZCNF || { | |
15 | 15 | echo "can't pull, either.. giving up.." |
16 | 16 | } |
17 | 17 | } |
... | ... | @@ -50,5 +50,3 @@ echo "\n\n \033[0;32mp.s. Follow us at http://twitter.com/ohmyzsh.\033[0m" |
50 | 50 | echo "\n\n \033[0;32mp.p.s. Get stickers and t-shirts at http://shop.planetargon.com.\033[0m" |
51 | 51 | env zsh |
52 | 52 | . ~/.zshrc |
53 | - | |
54 | - |