From 6afb7d122be120327c8c0d86df96cb0cd445bd92 Mon Sep 17 00:00:00 2001 From: tfheen Date: Sat, 18 Oct 2003 14:52:41 +0000 Subject: [PATCH] fix silly mistake where $NP was used instead of $PATH git-svn-id: file:///svn/tfheen/trunk/dotfiles@200 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- environment | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/environment b/environment index 8145595..f41d534 100644 --- a/environment +++ b/environment @@ -18,20 +18,21 @@ is_debian () { } removepathelem () { + echo $PATH PATH=$(echo "$PATH" | sed -e "s,:*$1:,:,g") } setpathifdir () { if [ -d "$1" ]; then removepathelem "$1" - PATH="$1:$NP" + PATH="$1:$PATH" fi } appendpathifdir () { if [ -d "$1" ]; then removepathelem "$1" - PATH="$NP:$1" + PATH="$PATH:$1" fi } -- 2.39.5