.dotfiles/install.sh
2022-02-10 20:11:56 +01:00

15 lines
320 B
Bash
Executable File

#!/bin/sh
rm ~/.zshrc
ln -s ~/.dotfiles/zshrc ~/.zshrc
touch ~/.dotfiles/credentials
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
zsh