1
0
Fork 0

Add a setup script

This commit is contained in:
Starbeamrainbowlabs 2016-03-23 20:50:35 +00:00
parent b78f5bfde7
commit 13be8c0c7b
1 changed files with 11 additions and 0 deletions

11
envsetup Normal file
View File

@ -0,0 +1,11 @@
#!/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 ~