From 06f725fce530e022c3b2abb3cebf1362c15193ee Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Tue, 10 Nov 2009 23:11:48 -0800 Subject: [PATCH] [ZSH] Fixed PATH and "ported" the e and et aliases. --- zsh/zshrc | 7 ++----- zshenv | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/zsh/zshrc b/zsh/zshrc index 415b712..72c6eaa 100755 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -328,11 +328,8 @@ function svnst() { rm -f $tmpfile } -if mac; then - # textmate - alias e='mate' - alias et='mate .' -fi +alias e="$EDITOR" +alias et="$EDITOR ." # global aliases - work anywhere on line alias -g C='|wc' diff --git a/zshenv b/zshenv index e36b08d..bfc799a 100644 --- a/zshenv +++ b/zshenv @@ -1,2 +1,2 @@ -path=($HOME/bin /usr/local/bin /usr/local/sbin /opt/local/bin /opt/local/sbin $path) +path=($HOME/bin $HOME/apps/bin /usr/local/bin /usr/local/sbin /opt/local/bin /opt/local/sbin $path) ZDOTDIR=~/config/zsh