diff --git a/profile b/profile index 0a59998..cb333af 100644 --- a/profile +++ b/profile @@ -20,6 +20,9 @@ export NODE_PATH # Ruby Gems test -d /var/lib/gems/1.8/bin && PATH="$PATH:/var/lib/gems/1.8/bin" RUBYOPT="-rubygems" export PATH RUBYOPT +# Gems on OSX homebrew +test -d /usr/local/Cellar/ruby/1.9.2-p290/bin && PATH="/usr/local/Cellar/ruby/1.9.2-p290/bin:$PATH" +export PATH # default editor EDITOR=vim diff --git a/zshrc b/zshrc index 988bad0..15e427f 100644 --- a/zshrc +++ b/zshrc @@ -19,6 +19,14 @@ chpwd() { # NOOP ;; esac + case $TERM in + xterm*) + print -Pn "\e]0;%n@%m: %~\a" + ;; + *) + # NOOP + ;; + esac } chpwd # call in right now