bash alias
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 c="clear" | |
alias zls="clear; ls -lash" | |
alias zgit="clear; git log --oneline --all --graph; git branch -vva; git status" | |
alias zpull="git pull origin" | |
alias zcommit="git add --all; git commit -am" | |
alias zpush="git push origin" | |
alias zupdate="git add --all; git commit -am update; git push origin --tags" | |
alias zdocs="clear; cd $HOME/Documentos" | |
alias zdown="clear; cd $HOME/Downloads" | |
alias zrepos="clear; cd $HOME/Documentos/Repositorios" | |
alias zcd='echo "cd `pwd`" | pbcopy' | |
alias zssh="ssh root@***.***.***.***" | |
alias zzsh="ssh *******@vps*****.dreamhostps.com" | |
alias zjpg='f(){mv "$1" _"$1"; imagemin _"$1" --plugin.mozjpeg.quality="$2" > "$1"; unset -f f; }; f' | |
alias zpng='f(){ mv "$@" "_$@"; imagemin "_$@" --plugin.pngquant.quality={0.1,0.9} > "$@"; unset -f f; }; f' | |
alias zdu="clear; du -h . | grep -v "/$" | sort -rh | head -50" | |
alias zduf="clear; find . -type f -exec du -ah {} + | grep -v "/$" | sort -rh | head -50" | |
alias zrsa="ssh-add ~/.ssh/*******" | |
alias znpm="npm config delete registry" | |
alias zdynpm="aws codeartifact login --tool npm --repository dyn-npm --domain dynamo --domain-owner ******** --profile *******" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment