Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@RohitRox
Forked from tshanks/.bash_profile
Created July 21, 2013 18:01
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 RohitRox/6049328 to your computer and use it in GitHub Desktop.
Save RohitRox/6049328 to your computer and use it in GitHub Desktop.
# Only for Mac OS X, where .bashrc is otherwise ignored
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
# MacPorts
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export MANPATH=/opt/local/share/man:$MANPATH
## # GNU Coreutils
## export PATH=/opt/local/libexec/gnubin:$PATH
case "$TERM" in
xterm*|rxvt*|linux|screen|SCREEN)
# Color 'ls', etc.
export CLICOLOR=1
# Looks ugly in xterm unless you use my .Xdefaults
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
# Set title
PS1="\[\e]0;\u@\h: \w\a\]$PS1"
;;
*)
#
PS1='\u@\h:\w\$ '
;;
esac
# If using git built from upstream source
if [ -x ~/.git-completion.bash ]; then
source ~/.git-completion.bash
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment