Added install.sh

It installs these files. WARNING! Read what the install.sh file does, so you will
avoid unpleasant surprises.
This commit is contained in:
Mika Suomalainen 2011-08-14 13:29:44 +03:00
parent aff4c5e697
commit e54790f8a3
1 changed files with 16 additions and 0 deletions

16
install.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
# This script "installs" files in this gist.
# WARNING: This will overwrite your .bashrc, .bash_aliases and .bash_profile !!!!!!
# NOTICE: For this script to work, you must cd to folder where this script is.
echo "Installing bash_aliases."
cat bash_aliases > ~/.bash_aliases
echo "bash_aliases installed."
echo "Installing bash_profile"
cat bash_profile > ~/.bash_profile
echo "bash_profile installed."
echo "Installing bashrc."
cat bashrc > ~/.bashrc
echo "bashrc installed."
echo "Sourcing bashrc..."
source ~/.bashrc
echo "Installation has completed."