Check for zsh before continue

This commit is contained in:
Jan Jastrow 2022-02-10 21:14:50 +01:00
parent 76f2441f5a
commit 4a76889d46

View File

@ -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