upgrade yo
This commit is contained in:
@@ -16,7 +16,7 @@ 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 dcp="a; dc; git push"
|
||||
|
||||
alias zshconfig="subl ~/.zshrc"
|
||||
alias zshreload="exec zsh"
|
||||
@@ -52,6 +52,30 @@ alias -g LATEST='*(om[1])'
|
||||
#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"
|
||||
|
||||
publish() {
|
||||
rsyncc $@ dedi:/var/www/abra.me/pub/
|
||||
function publish() {
|
||||
rsyncc $@ "dedi:/var/www/abra.me/list/"
|
||||
}
|
||||
|
||||
function publishwhere() {
|
||||
rsyncc ${@:2} "dedi:/var/www/abra.me/$1"
|
||||
}
|
||||
|
||||
function twitch() {
|
||||
local arg=${@:2}
|
||||
local arg=${arg:-best}
|
||||
livestreamer "http://www.twitch.tv/$1" $arg
|
||||
}
|
||||
|
||||
function dcp() {
|
||||
local arg=$@
|
||||
|
||||
if [[ -z $arg ]]; then
|
||||
local arg="$(whoami) at $(date)"
|
||||
fi
|
||||
|
||||
a || exit
|
||||
|
||||
git commit -m "$arg" || exit
|
||||
|
||||
git push || exit
|
||||
}
|
Reference in New Issue
Block a user