From e3dc534ec1ebf3d916d039be870597595aec68c5 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 26 Nov 2009 20:25:18 +0100 Subject: zshrc: Set path in a better way --- etc/rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/rc b/etc/rc index 83a4439..b2bf7fa 100644 --- a/etc/rc +++ b/etc/rc @@ -90,7 +90,8 @@ if ((EUID)) { export MAKEFLAGS=j$(grep -c '^processor' /proc/cpuinfo) # Add my own executables, if they're not already in the path -[[ $path[1] = $HOME/bin ]] || export PATH=$HOME/bin:$PATH +typeset -U path +path=(~/bin $path) # Add manuals from caretaker to manpath if [[ $distro == debian ]] { -- cgit v1.2.3