A shell script to clone and symlink dotfiles from a git repository
curl -sSL http://git.io/rcndots -o dotsetup && chmod +x dotsetup
or
wget -q http://git.io/rcndots -O dotsetup && chmod +x dotsetup
usage: dotsetup [options]
-a symlink dotfiles for all installed programs"
-c clone git repository"
-h print this screen"
-t print a list of installed programs"
-v install or update vim plugins"
curl -sSL http://git.io/rcndots -o dotsetup && chmod +x dotsetup
./dotsetup -t
Depending on your distribution run f.e.:
# For Arch Linux based distributions
pacman -Sy git tmux vim zsh
# For Debian based distributions
apt-get update && apt-get install git tmux vim zsh
# For Red Hat based distributions
yum update && yum install git tmux vim zsh
./dotsetup -a
f.e.:
exec zsh
sudo chsh -s /bin/zsh [username]
- add more arrays to dotfiles()
- add a flag to overwrite/backup existing dotfiles
- add interactive confirmation switch