added GH_HOME variable
This commit is contained in:
12
zshrc
12
zshrc
@@ -32,6 +32,7 @@ export TERM=rxvt
|
||||
export LANG=en_US.UTF-8
|
||||
export LC_ALL=$LANG
|
||||
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
|
||||
export GH_HOME=~/Documents/Code/Github
|
||||
alias dob="git branch --merged | grep -vE '(\*)|(master)|(dev)' | xargs -n 1 git branch -d"
|
||||
alias vi="stty stop '' -ixoff ; vim"
|
||||
alias gcc="gcc-5"
|
||||
@@ -55,10 +56,9 @@ alias pip2="/usr/local/bin/pip"
|
||||
alias pip="pip3"
|
||||
alias pypy="pypy3"
|
||||
alias setjdk="launchctl setenv STUDIO_JDK /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk"
|
||||
alias cdz="cd ~/Documents/Code/Github/zepto"
|
||||
alias cdg="cd ~/Documents/Code/Github"
|
||||
alias cdd="cd ~/Documents/Code/Github/decode"
|
||||
alias cdot="cd ~/Documents/Code/Github/.dotfiles"
|
||||
alias cdz="cd $GH_HOME/zepto"
|
||||
alias cdg="cd $GH_HOME"
|
||||
alias cdot="cd $GH_HOME/.dotfiles"
|
||||
alias cdgo="cd ~/.go/src"
|
||||
alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo rm -rfv /private/var/log/asl/*.asl"
|
||||
alias dud="du -d 1"
|
||||
@@ -351,6 +351,10 @@ function tree(){
|
||||
find . | sed -e 's/[^\/]*\//|--/g' -e 's/-- |/ |/g' | $PAGER
|
||||
}
|
||||
|
||||
function vig {
|
||||
vi ~/Documents/Code/Github/$1
|
||||
}
|
||||
|
||||
###-begin-npm-completion-###
|
||||
#
|
||||
# npm command completion script
|
||||
|
Reference in New Issue
Block a user