This commit is contained in:
2017-03-29 13:48:07 +04:00
parent 4919e8c739
commit 5020ded92c
3 changed files with 23 additions and 9 deletions

View File

@@ -43,6 +43,8 @@ alias dus="du -kHhd0 * | gsort -h"
alias p="perl -pe"
alias -g LATEST='*(om[1])'
#alias f1sql="/google/data/ro/projects/storage/f1/tools/f1-sql"
#alias t="task"

View File

@@ -56,7 +56,7 @@ function .g-init() {
}
function twitch() {
livestreamer "http://www.twitch.tv/$1" source &!
livestreamer "http://www.twitch.tv/$1" ${@:2}
}
function is_local() {
@@ -76,10 +76,14 @@ function make_user() {
chown $1:nogroup -R /home/$1/
}
function latest() {
echo -n ("${(@f)$(ls *(om[1,$1]))}")
}
# ----------------------------------- END ALIASES --------------------------------------------------
export EDITOR=/usr/bin/vim
export PATH=$PATH:$HOME/bin:$HOME/brew/bin
export DYLD_LIBRARY_PATH="/Developer/NVIDIA/CUDA-7.5/lib:/usr/local/cuda/lib"
export DYLD_LIBRARY_PATH="/Developer/NVIDIA/CUDA-8.0/lib:/usr/local/cuda/lib"
# added by travis gem
[ -f /Users/abra/.travis/travis.sh ] && source /Users/abra/.travis/travis.sh