From b18e53abfcb6d7d0453597298838433637cf504f Mon Sep 17 00:00:00 2001 From: tfheen Date: Fri, 17 Sep 2004 11:34:09 +0000 Subject: [PATCH] remove empty path elements git-svn-id: file:///svn/tfheen/trunk/dotfiles@656 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- environment | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment b/environment index e9a074d..697b115 100644 --- a/environment +++ b/environment @@ -70,7 +70,7 @@ is_debian () { } removepathelem () { - PATH=$(echo "$PATH" | sed -e "s,:*$1:,:,g") + PATH=$(echo "$PATH" | sed -e "s,:*$1:,:,g" -e "s,::,:,g") } setpathifdir () { -- 2.39.5