mirror of
https://github.com/sbrl/bin.git
synced 2018-01-10 21:33:46 +00:00
12 lines
317 B
Text
12 lines
317 B
Text
|
#!/usr/bin/env bash
|
||
|
BIN_DIR=$(pwd)
|
||
|
|
||
|
# Backup the existing bashrc and bash aliases
|
||
|
mv ~/.bashrc ~/.bashrc.bak
|
||
|
mv ~/.bash_aliases ~/.bash_aliases.bak
|
||
|
# Link to the new ones
|
||
|
ln -s ${BIN_DIR}/.bashrc ~/.bashrc
|
||
|
ln -s ${BIN_DIR}/.bash_aliases ~/.bash_aliases
|
||
|
# Copy the bash host file into place
|
||
|
cp ${BIN_DIR}/.bash_host ~
|