dotfiles/setup_minimal.sh

21 lines
554 B
Bash

#!/bin/bash
# Aufruf: curl -s https://git.mgrote.net/mg/dotfiles/raw/branch/master/setup_minimal.sh | bash -s ./setup_minimal.sh
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