Commit 0256da3376cf7714ad1c670f3c329d3912e94905
1 parent
fb9feed374
Exists in
master
and in
2 other branches
FIXES
Showing 1 changed file with 6 additions and 5 deletions Side-by-side Diff
tools/install.sh
... | ... | @@ -12,11 +12,6 @@ if [ ! -n "$ZSH" ]; then |
12 | 12 | ZSH=$ZCNF/tools/oh-my-zsh |
13 | 13 | fi |
14 | 14 | |
15 | -echo "\033[0;34mCloning Zsh Config...\033[0m" | |
16 | -hash git >/dev/null 2>&1 && env git clone --depth=1 http://git.str8.biz/mj/zsh-config.git $ZCNF || { | |
17 | - echo "can't clone repo.." | |
18 | -} | |
19 | - | |
20 | 15 | echo "\033[0;34mCleaning...\033[0m" |
21 | 16 | if [ -d ~/.config/zsh-config ]; then |
22 | 17 | if [ -d ~/.config/zsh-config ]; then |
... | ... | @@ -44,6 +39,12 @@ if [ -d ~/.config/zsh-config ]; then |
44 | 39 | fi |
45 | 40 | fi |
46 | 41 | |
42 | +echo "\033[0;34mCloning Zsh Config...\033[0m" | |
43 | +hash git >/dev/null 2>&1 && env git clone --depth=1 http://git.str8.biz/mj/zsh-config.git $ZCNF || { | |
44 | + echo "can't clone repo.." | |
45 | + exit 1 | |
46 | +} | |
47 | + | |
47 | 48 | echo "\033[0;34mUsing the Zsh Config template file and adding it to ~/.zshrc\033[0m" |
48 | 49 | ln -s $ZCNF/templates/zshrc ~/.zshrc |
49 | 50 | ln -s $ZCNF/templates/bashrc ~/.bashrc |