.dotfiles/install.sh

19 lines
331 B
Bash
Raw Normal View History

2022-02-10 20:11:56 +01:00
#!/bin/sh
2022-02-10 21:14:50 +01:00
if [ ! -x `which zsh` ]; then
exit
fi
2022-02-10 20:11:56 +01:00
rm ~/.zshrc
ln -s ~/.dotfiles/zshrc ~/.zshrc
touch ~/.dotfiles/zsh/device-specific
sudo chsh -s $(which zsh) $USER
echo "Include ~/.dotfiles/ssh/hosts" >> ~/.ssh/config
chmod 600 ~/.dotfiles/ssh/hosts
chmod 600 ~/.ssh/config
rm ~/.bashrc
rm ~/.bash_logout
rm ~/.bash_history
2022-02-10 21:14:50 +01:00
2022-02-10 20:11:56 +01:00
zsh