tmux - add document to install dependency - fix macvim not paste register + issue
[dotfiles.git] / zsh / zshrc
index 7a5b102..4663a06 100644 (file)
--- 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
 
@@ -309,3 +312,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;