-
-
Save mwermuth/5589697 to your computer and use it in GitHub Desktop.
Bash Aliases
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
alias gpd="git push -u origin develop" | |
alias gpm="git push -u origin master" | |
alias ungit="find . -name '.git' -exec rm -rf {} \;" | |
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
alias chrome="open -a \"Google Chrome\"" |
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
#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