mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-11-22 18:49:55 +01:00
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
Block a user