Skip to content

Instantly share code, notes, and snippets.

@hackgnar
Created August 18, 2015 13:20
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 hackgnar/0b05878753c408036b66 to your computer and use it in GitHub Desktop.
Save hackgnar/0b05878753c408036b66 to your computer and use it in GitHub Desktop.
############################
### git bash completion ###
############################
source /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-completion.bash
source /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-prompt.sh
############################
### prompt look and feel ###
############################
PS1='\
\[\033[01;32m\]\u\
\[\033[01;31m\]@\
\[\033[01;31m\]\h\
\[\033[01;34m\]:\
\[\033[01;34m\]\W\
\[\033[01;32m\]$(__git_ps1 "(%s)")\
\[\033[01;32m\]\$\
\[\033[00m\] '
############################
### alias ###
############################
#alias ls='ls -G'
alias tree='tree -C'
alias vsp="vim -O"
############################
### functions ###
############################
function mark(){
/Applications/Marked.app/Contents/Resources/mark $@
}
export EDITOR=vim
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment