Skip to content

Instantly share code, notes, and snippets.

@kylpo
Created August 9, 2016 14:55
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 kylpo/11e859e5659e70a400e4d7bf3c25b369 to your computer and use it in GitHub Desktop.
Save kylpo/11e859e5659e70a400e4d7bf3c25b369 to your computer and use it in GitHub Desktop.
# Only load Liquid Prompt in interactive shells, not from a script or from scp
[[ $- = *i* ]] && source ~/github/liquidprompt/liquidprompt
# The cool apple symbol with system info
# archey
# git completion
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
source ~/github/git-flow-completion/git-flow-completion.bash
export PATH=/usr/local/bin:$PATH
export EDITOR=mvim
export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh
cd () {
builtin cd $@ && ls -aG
}
alias up='cd ..'
alias up2='cd ../..'
alias up3='cd ../../..'
alias up4='cd ../../../..'
alias up5='cd ../../../../..'
alias fix="git diff --name-only | uniq | xargs mvim"
alias weather="curl -4 wttr.in"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment