X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=zsh%2Fzshrc;h=6056f55795033865701699ce51634e8036225011;hb=6ca411f6d15e07aebb079efa31b1b9ce62c8a7f0;hp=7a5b1027d3ddca0eaf71867bf57a0807210160ea;hpb=20606a1d84cc404fedb93e903104d8224d98ddd5;p=dotfiles.git diff --git a/zsh/zshrc b/zsh/zshrc index 7a5b102..6056f55 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -3,6 +3,9 @@ # Darwin or Linux OSNAME=`uname` +# For Emacs Tramp mode +[[ $TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return + autoload colors colors @@ -111,7 +114,14 @@ alias ln='ln -i' #alias svn='colorsvn' alias sed='/usr/local/bin/gsed' +##### Git +alias 'gs'='git status' +alias 'ga'='git add' +alias 'gc'='git commit' +alias 'gl'='git log --oneline --graph --all --color --decorate --abbrev-commit' alias 'git-log'='git log --oneline --graph --all --color --decorate --abbrev-commit' +alias 'gdiff'='git diff' +alias 'gpush'='git push origin master' @@ -309,3 +319,10 @@ if [[ $OSNAME == 'Darwin' ]]; then PERL_MB_OPT="--install_base \"$HOME/perl5\""; export PERL_MB_OPT; PERL_MM_OPT="INSTALL_BASE=$HOME/perl5"; export PERL_MM_OPT; fi + +# add Racket into PATH +export PATH="/Applications/Racket v6.6/bin":$PATH; +export MANPATH="/Applications/Racket v6.6/man":$MANPATH; + +# export ~/.bin into PATH +export PATH="$HOME/.bin":$PATH;