Files
dotfiles/install.sh
2019-03-23 15:39:18 +01:00

11 lines
255 B
Bash
Executable File

#!/bin/bash
# Make ZSH the default shell environment
if [ `cat /etc/passwd | grep $USER | awk -F ':' '{print $7}'` != "/bin/zsh" ]; then
echo "Changing shell to zsh"
chsh -s $(which zsh)
fi
# linking base stuff
$HOME/.dotfiles/dotfiles.sh link base