diff --git a/setup_minimal.sh b/setup_minimal.sh new file mode 100644 index 0000000..c95708b --- /dev/null +++ b/setup_minimal.sh @@ -0,0 +1,20 @@ +#!/bin/bash +cd ~ + +git clone https://git.mgrote.net/mg/dotfiles ~/dotfiles + +ln -s ~/dotfiles/.tmux.conf ~/.tmux.conf +ln -s ~/dotfiles/.vimrc ~/.vimrc +ln -s ~/dotfiles/.bash_aliases ~/.bash_aliases +ln -s ~/dotfiles/.bash_extra ~/.bash_extra +ln -s ~/dotfiles/.bash_functions ~/.bash_functions + +cat <<'EOF' >> ~/.bashrc +source ~/dotfiles/.bash_aliases +source ~/dotfiles/.bash_functions +source ~/dotfiles/.bash_extra + +EOF + + +source ~/.bashrc