Check for zsh before continue
This commit is contained in:
parent
76f2441f5a
commit
4a76889d46
|
@ -1,5 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ ! -x `which zsh` ]; then
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
rm ~/.zshrc
|
rm ~/.zshrc
|
||||||
ln -s ~/.dotfiles/zshrc ~/.zshrc
|
ln -s ~/.dotfiles/zshrc ~/.zshrc
|
||||||
touch ~/.dotfiles/zsh/device-specific
|
touch ~/.dotfiles/zsh/device-specific
|
||||||
|
@ -10,4 +14,5 @@ chmod 600 ~/.ssh/config
|
||||||
rm ~/.bashrc
|
rm ~/.bashrc
|
||||||
rm ~/.bash_logout
|
rm ~/.bash_logout
|
||||||
rm ~/.bash_history
|
rm ~/.bash_history
|
||||||
|
|
||||||
zsh
|
zsh
|
||||||
|
|
Loading…
Reference in New Issue