Check for zsh before continue

This commit is contained in:
Jan Jastrow 2022-02-10 21:14:50 +01:00
parent 76f2441f5a
commit 4a76889d46
1 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,9 @@
#!/bin/sh
if [ ! -x `which zsh` ]; then
exit
fi
rm ~/.zshrc
ln -s ~/.dotfiles/zshrc ~/.zshrc
touch ~/.dotfiles/zsh/device-specific
@ -10,4 +14,5 @@ chmod 600 ~/.ssh/config
rm ~/.bashrc
rm ~/.bash_logout
rm ~/.bash_history
zsh