upgrade yo
This commit is contained in:
@@ -4,7 +4,5 @@
|
|||||||
[core]
|
[core]
|
||||||
autocrlf = input
|
autocrlf = input
|
||||||
excludesfile = /Users/abra/.gitignore_global
|
excludesfile = /Users/abra/.gitignore_global
|
||||||
[credential]
|
|
||||||
helper = osxkeychain
|
|
||||||
[push]
|
[push]
|
||||||
default = simple
|
default = simple
|
||||||
|
@@ -16,7 +16,7 @@ alias ma="git5 mail -m"
|
|||||||
alias push="git5 submit -xy"
|
alias push="git5 submit -xy"
|
||||||
# alias push="git submit -xy"
|
# alias push="git submit -xy"
|
||||||
alias dc="a && c \"dummy comment\""
|
alias dc="a && c \"dummy comment\""
|
||||||
alias dcp="a; dc; git push"
|
# alias dcp="a; dc; git push"
|
||||||
|
|
||||||
alias zshconfig="subl ~/.zshrc"
|
alias zshconfig="subl ~/.zshrc"
|
||||||
alias zshreload="exec zsh"
|
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 revs="ssh abra0 'tail -f -n0 ~/reverse_shell' | tee -a .rem_history| zsh -s"
|
||||||
#alias nika_pop="echo \"afplay ~/tmp/nika.mp3\" > ~/reverse_shell"
|
#alias nika_pop="echo \"afplay ~/tmp/nika.mp3\" > ~/reverse_shell"
|
||||||
|
|
||||||
publish() {
|
function publish() {
|
||||||
rsyncc $@ dedi:/var/www/abra.me/pub/
|
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
|
||||||
}
|
}
|
@@ -4,10 +4,3 @@
|
|||||||
# Authors:
|
# Authors:
|
||||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||||
#
|
#
|
||||||
|
|
||||||
# Print the message.
|
|
||||||
cat <<-EOF
|
|
||||||
|
|
||||||
Thank you. Come again!
|
|
||||||
-- Dr. Apu Nahasapeemapetilon
|
|
||||||
EOF
|
|
||||||
|
@@ -58,9 +58,7 @@ function .g-init() {
|
|||||||
.g remote add origin ssh://dedi/var/www/git.abra.me/dot.git
|
.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() {
|
function is_local() {
|
||||||
[[ $(hostname) == "abra0.local" ]]
|
[[ $(hostname) == "abra0.local" ]]
|
||||||
@@ -85,7 +83,7 @@ function latest() {
|
|||||||
|
|
||||||
# ----------------------------------- END ALIASES --------------------------------------------------
|
# ----------------------------------- END ALIASES --------------------------------------------------
|
||||||
export EDITOR=/usr/bin/vim
|
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"
|
export DYLD_LIBRARY_PATH="/Developer/NVIDIA/CUDA-8.0/lib:/usr/local/cuda/lib"
|
||||||
|
|
||||||
# added by travis gem
|
# added by travis gem
|
||||||
|
Reference in New Issue
Block a user