Skip to content

Instantly share code, notes, and snippets.

@chancesmith
Created May 10, 2017 03:49
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 chancesmith/59cb8293d6bbe0cc9499fdd0fb6bd4e5 to your computer and use it in GitHub Desktop.
Save chancesmith/59cb8293d6bbe0cc9499fdd0fb6bd4e5 to your computer and use it in GitHub Desktop.
personal .profile preferences
alias work='cd ~/work-in-progress/'
alias home='cd ~'
## get rid of command not found ##
alias cd..='cd ..'
## a quick way to get out of current directory ##
alias ..='cd ..'
alias editprofile= 'subl ~/.bash_profile && subl ~/.profile'
alias refresh-profiles= 'source ~/.profile && source ~/.bash_profile'
alias speed='wget -O /dev/null http://speedtest.wdc01.softlayer.com/downloads/test10.zip'
alias speedtest='/usr/bin/open -a "/Applications/Google Chrome.app" "http://www.speedtest.net/"'
#alias handbrake='/Volumes/HandBrakeCLI-1.0.1/HandBrakeCLI --output ~/Desktop/vids --input'
alias cleanshots='automator ~/Dropbox/delete-IFTTT-screensaver-files.workflow'
alias fixcam='sudo killall VDCAssistant'
#git
alias gs='git status'
alias ga='git add .'
alias gaa='git add --all'
alias gc='git commit -m'
alias gca='git commit --amend -m'
alias gl='git pull'
alias gp='git push'
alias gco='git checkout'
alias gpom="git pull origin master"
alias gd='git diff | mate'
alias gb='git branch'
alias gba='git branch -a'
alias del='git branch -d'
alias gr='git remote'
#just in case
alias got='git '
alias get='git '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment