21 lines
436 B
Bash
21 lines
436 B
Bash
|
#!/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
|