From 62c2106fb5b11c09510c974b2bec7cd11603e6c5 Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Wed, 28 Sep 2011 13:42:14 +0200 Subject: [PATCH 1/2] ruby 1.9 path --- profile | 3 +++ 1 file changed, 3 insertions(+) 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 From 528198e9977246ee44e0cb287e6a635378b820e1 Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Wed, 28 Sep 2011 13:42:29 +0200 Subject: [PATCH 2/2] xterm zsh title update --- zshrc | 8 ++++++++ 1 file changed, 8 insertions(+) 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