Created
February 26, 2019 08:00
-
-
Save piyukore06/356041c4848b035e38cac671e154713a to your computer and use it in GitHub Desktop.
ZSH 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 rustc="~/.cargo/bin/rustc" | |
alias gl="git log --oneline --decorate --graph" | |
alias amend="git commit --amend" | |
alias pulldev="git checkout develop && git pull && git checkout -" | |
alias nom="npm" | |
alias got="git" | |
alias clear-local="git fetch -p && for branch in `git branch —vv grep ‘: gone]’ | awk ‘{print $1}’`; do git branch -D $branch; done" | |
alias oops="git reset --hard" | |
alias please="$(fc -ln -1)" # !!sudo | |
alias back="git checkout -" | |
alias develop="git checkout develop" | |
alias master="git checkout master" | |
alias clean-start="rm -rf node_modules && yarn install && yarn start" | |
alias gacm="git add . && git commit -m" | |
alias npmid="npm install && say done" | |
alias yarnid="yarn install && say done" | |
alias idk="printf \"¯\_(ツ)_/¯\" | pbcopy && echo \"¯\_(ツ)_/¯ copied to clipboard\"" | |
alias contribs="git shortlog -sn" | |
alias gh="git reflog" | |
alias composer="php ~/.composer/composer.phar" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment