add .bin into PATH
[dotfiles.git] / zsh / zshrc
index 7a5b102..0f02ab5 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,6 @@ 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
+
+# export ~/.bin into PATH
+export PATH="$HOME/.bin":$PATH;