Skip to content

Instantly share code, notes, and snippets.

@parnurzeal
Last active August 29, 2015 13:56
Show Gist options
  • Save parnurzeal/9284485 to your computer and use it in GitHub Desktop.
Save parnurzeal/9284485 to your computer and use it in GitHub Desktop.
my.bash_profile
# color my terminal
export CLICOLOR=1
export LSCOLORS=ExGxFxdxCxDxDxBxBxExEx
#sets up the prompt color (currently a green similar to linux terminal)
export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$ '
#sets up proper alias commands when called
alias ls='ls -G'
alias ll='ls -hl'
alias subln='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl -n'
# Setup grep color
export GREP_OPTIONS='--color=auto'
## setting maven variables
export M2_HOME=/usr/local/apache-maven/apache-maven-3.1.1
export M2=$M2_HOME/bin
export PATH=$M2:$PATH
## setting golang variables
export GOPATH=$HOME/Workspace/go
export GOROOT=/usr/local/go
export PATH=$PATH:$GOPATH/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment