62 lines
1.6 KiB
Bash
62 lines
1.6 KiB
Bash
alias g="git"
|
|
alias a="git add --all :/"
|
|
alias b="git branch"
|
|
alias c="git commit -am"
|
|
alias ch="git checkout"
|
|
alias pull="git pull"
|
|
alias rb="git reset HEAD --hard"
|
|
alias s="git status"
|
|
alias st="git stash"
|
|
|
|
# alias g5="git5"
|
|
# alias e="git5 export"
|
|
# alias m="git5 merge --no-ff"
|
|
# alias ma="git5 mail -m"
|
|
# alias push="git5 submit -xy"
|
|
# alias push="git submit -xy"
|
|
alias dc="a && c \"dummy comment\""
|
|
# alias dcp="a; dc; git push"
|
|
|
|
alias zshconfig="subl ~/.zshrc"
|
|
alias zshreload="exec zsh"
|
|
|
|
alias tarc="tar cvzf"
|
|
# alias rcp="rsync --partial --progress --append --rsh=ssh -r -h"
|
|
# alias rmv="rsync --partial --progress --append --rsh=ssh -r -h --remove-sent-files"
|
|
# alias rsyncc="rsync -rzPhc"
|
|
|
|
alias pythonserve="sudo python -m SimpleHTTPServer 80"
|
|
|
|
# replace
|
|
alias sg='perl -0pe'
|
|
|
|
# alias clbin="curl -F 'clbin=<-' https://clbin.com"
|
|
|
|
#alias afs="unmount-abra0; mount-abra0;"
|
|
|
|
alias .g='git --git-dir=$HOME/.dotgit/ --work-tree=$HOME'
|
|
alias .gs='.g status -uno'
|
|
alias .gp='.g commit -am "auto" && .g push'
|
|
|
|
alias p="perl -pe"
|
|
alias p0="perl -0pe"
|
|
|
|
alias -g LATEST='*(om[1])'
|
|
|
|
#alias f1sql="/google/data/ro/projects/storage/f1/tools/f1-sql"
|
|
|
|
#alias t="task"
|
|
|
|
#alias revs="ssh abra0 'tail -f -n0 ~/reverse_shell' | tee -a .rem_history| zsh -s"
|
|
#alias nika_pop="echo \"afplay ~/tmp/nika.mp3\" > ~/reverse_shell"
|
|
|
|
# remote tmux on server
|
|
alias tmuxr="tmux new-session -A -s auto"
|
|
alias tmuxa="tmux new-session -A -s"
|
|
|
|
alias FUNCTION_PRELUDE="setopt LOCAL_OPTIONS PIPE_FAIL XTRACE ERR_RETURN"
|
|
alias FUNCTION_PRELUDE_NO_XTRACE="setopt LOCAL_OPTIONS PIPE_FAIL NO_XTRACE ERR_RETURN"
|
|
|
|
# pottering recommendation
|
|
alias psc="ps xawf -eo pid,user,cgroup,args"
|