Commit 8bc71a901a9b7ec9c3e6fffd03b2f4268599778c

Authored by mj
1 parent da5bd4cbf8
Exists in master and in 2 other branches 02-merge, dev

install.sh: fix clearing

Showing 1 changed file with 12 additions and 13 deletions Side-by-side Diff

... ... @@ -23,20 +23,19 @@ if [ -d ~/.config/zsh-config ] || [ -h ~/.config/zsh-config ]; then
23 23 if [ -d ~/.config/antigen ] || [ -h ~/.config/antigen ]; then
24 24 rm -rf ~/.config/antigen
25 25 fi
26   - if [ -f ~/.zshrc ] || [ -h ~/.zshrc ]; then
27   - mv ~/.zshrc ~/.zshrc.pre-zsh-cnf
28   - fi
29   -
30   - #
31   - # BASH:
32   - #
  26 +fi
33 27  
34   - if [ -f ~/.bashrc ] || [ -h ~/.bashrc ]; then
35   - mv ~/.bashrc ~/.bashrc.pre-zsh-cnf
36   - fi
37   - if [ -f ~/.bash_aliases ] || [ -h ~/.bash_aliases ]; then
38   - rm ~/.bash_aliases
39   - fi
  28 +if [ -f ~/.zshrc ] || [ -h ~/.zshrc ]; then
  29 + mv ~/.zshrc ~/.zshrc.pre-zsh-cnf
  30 +fi
  31 +#
  32 +# BASH:
  33 +#
  34 +if [ -f ~/.bashrc ] || [ -h ~/.bashrc ]; then
  35 + mv ~/.bashrc ~/.bashrc.pre-zsh-cnf
  36 +fi
  37 +if [ -f ~/.bash_aliases ] || [ -h ~/.bash_aliases ]; then
  38 + rm ~/.bash_aliases
40 39 fi
41 40  
42 41 echo "\033[0;34mCloning Zsh Config...\033[0m"