From a04dfa9d2bd5ce98b9433c4013c6afbc3fc75cd7 Mon Sep 17 00:00:00 2001 From: Marc Ignacio Date: Fri, 20 Jun 2014 05:02:08 +0800 Subject: [PATCH] 0_path.zsh reinserts .yadr paths twice in tmux in terminal ```sh sky@nimbus ~ $ echo $PATH /Users/sky/.rbenv/shims:/Users/sky/.rbenv/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/Users/sky/.yadr/bin:/Users/sky/.yadr/bin/yadr ``` in tmux ```sh sky@nimbus ~ $ echo $PATH /Users/sky/.rbenv/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/Users/sky/.rbenv/shims:/Users/sky/.yadr/bin:/Users/sky/.yadr/bin/yadr:/Users/sky/.yadr/bin:/Users/sky/.yadr/bin/yadr ``` --- zsh/0_path.zsh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/zsh/0_path.zsh b/zsh/0_path.zsh index 5b1d48a42b..db078f1e82 100644 --- a/zsh/0_path.zsh +++ b/zsh/0_path.zsh @@ -1,2 +1,7 @@ # path, the 0 in the filename causes this to load first -export PATH=$PATH:$HOME/.yadr/bin:$HOME/.yadr/bin/yadr +path=( + $path + $HOME/.yadr/bin + $HOME/.yadr/bin/yadr +) +