Skip to content

Instantly share code, notes, and snippets.

@RB-Lab
Created January 17, 2017 11:24
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 RB-Lab/e99f364038876067f695907fd2a47c1b to your computer and use it in GitHub Desktop.
Save RB-Lab/e99f364038876067f695907fd2a47c1b to your computer and use it in GitHub Desktop.
Useful aliases for .zshrc/.bashrc
alias untgz="tar -xvzf"
alias hg="history | grep "
alias git-clear="git branch -d $(git branch --merged)"
alias lsl="ls -l"
@RB-Lab
Copy link
Author

RB-Lab commented May 6, 2018

Also for git:

git config --global alias.co checkout
git config --global alias.st status
git config --global alias.hist "log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment