shell-things/install.sh
Mika Suomalainen e54790f8a3 Added install.sh
It installs these files. WARNING! Read what the install.sh file does, so you will
avoid unpleasant surprises.
2011-08-14 13:29:44 +03:00

17 lines
567 B
Bash
Executable File

#!/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."