Initial Commit - moved out of ubuntu_config.

This commit is contained in:
Nathan Broadbent
2011-10-18 00:18:17 +08:00
commit e634d0c4b5
24 changed files with 2592 additions and 0 deletions

10
install.sh Executable file
View File

@@ -0,0 +1,10 @@
# This loads Git Breeze into the shell session.
exec_string='[[ -s "$HOME/.scm_breeze/scm_breeze.sh" ]] && . "$HOME/.scm_breeze/scm_breeze.sh"'
# Add line to bashrc and zshrc if not already present.
for rc in bashrc zshrc; do
if [[ -s "$HOME/.$rc" ]] && ! grep -q "$exec_string" "$HOME/.$rc"; then
echo -e "\n$exec_string" >> "$HOME/.$rc"
fi
done