Skip to content

Instantly share code, notes, and snippets.

@mwermuth
Created May 16, 2013 06:04
Show Gist options
  • Save mwermuth/5589697 to your computer and use it in GitHub Desktop.
Save mwermuth/5589697 to your computer and use it in GitHub Desktop.
Bash Aliases
alias gpd="git push -u origin develop"
alias gpm="git push -u origin master"
alias ungit="find . -name '.git' -exec rm -rf {} \;"
alias chrome="open -a \"Google Chrome\""
#copy output of last command to clipboard
alias cl="fc -e -|pbcopy"
#top
alias cpu='top -o cpu'
alias mem='top -o rsize' # memory
#copy the working directory path
alias cpwd='pwd|tr -d "\n"|pbcopy'
#ls better
alias la="ls -aF"
alias ld="ls -ld"
alias ll="ls -l"
alias lt='ls -At1 && echo "------Oldest--"'
alias ltr='ls -Art1 && echo "------Newest--"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment