upgrade yo

This commit is contained in:
2017-09-04 03:04:59 +04:00
parent df599c2258
commit 4c4737d38e
4 changed files with 29 additions and 16 deletions

View File

@@ -4,7 +4,5 @@
[core]
autocrlf = input
excludesfile = /Users/abra/.gitignore_global
[credential]
helper = osxkeychain
[push]
default = simple

View File

@@ -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
}

View File

@@ -4,10 +4,3 @@
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Print the message.
cat <<-EOF
Thank you. Come again!
-- Dr. Apu Nahasapeemapetilon
EOF

View File

@@ -58,9 +58,7 @@ function .g-init() {
.g remote add origin ssh://dedi/var/www/git.abra.me/dot.git
}
function twitch() {
livestreamer "http://www.twitch.tv/$1" ${@:2}
}
function is_local() {
[[ $(hostname) == "abra0.local" ]]
@@ -85,7 +83,7 @@ function latest() {
# ----------------------------------- END ALIASES --------------------------------------------------
export EDITOR=/usr/bin/vim
export PATH=$PATH:$HOME/bin:$HOME/brew/bin
export PATH=$HOME/brew/bin:$HOME/bin:$PATH
export DYLD_LIBRARY_PATH="/Developer/NVIDIA/CUDA-8.0/lib:/usr/local/cuda/lib"
# added by travis gem