Last active
April 21, 2017 09:17
-
-
Save mikemellor11/cffaf55605dffdd58900b55809a8e15f to your computer and use it in GitHub Desktop.
command line styling
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Git branch in prompt. | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ @\1/' | |
} | |
export bb="git@bitbucket.org:fishawackdigital" | |
export mb="git@mikemellor11:mikemellor11" | |
export PATH="/Applications/Sublime Text.app/Contents/SharedSupport/bin:$PATH" | |
export PATH="/usr/local/sbin:$PATH" | |
export HOMEBREW_CASK_OPTS="--appdir=/Applications" | |
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\[\033[31m\]\$(parse_git_branch)\[\033[00m\]\$ " | |
export CLICOLOR=1 | |
export LSCOLORS=GxFxCxDxBxegbxabagacbx | |
alias ls='ls -l -GFh' | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* | |
source ~/.profile | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm | |
export NODE_ENV="development" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment