Skip to content

Instantly share code, notes, and snippets.

@beaucharman
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beaucharman/e13ecd69ae3ed4fe6510 to your computer and use it in GitHub Desktop.
Save beaucharman/e13ecd69ae3ed4fe6510 to your computer and use it in GitHub Desktop.
Terminal Awesomness
sudo nano ~/.bash_profile
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
PS1='\e[0;35m⌘\e[0;34m \w/\e[0m\e[0;32m$(parse_git_branch)\e[0m '
alias projectlt3="cd ~/Sites/lt3-development/"
alias createalias="sudo nano ~/.bash_profile"
alias showhidden='defaults write com.apple.finder AppleShowAllFiles TRUE; killall Finder'
alias hideshown='defaults write com.apple.finder AppleShowAllFiles FALSE; killall Finder'
source ~/.rvm/scripts/rvm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment