From fadba0f2b09cae93a5899c48f652e993c69bd8d0 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 6 Feb 2012 01:28:33 +0000 Subject: [PATCH] use pure shell-scripting when possible - probably possible for more things, will research another day --- shell/helpers/path_helpers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/helpers/path_helpers.sh b/shell/helpers/path_helpers.sh index 1998bc2..b731e5a 100644 --- a/shell/helpers/path_helpers.sh +++ b/shell/helpers/path_helpers.sh @@ -18,7 +18,7 @@ # /usr/local/bin # path_list () { - echo -n "$PATH" | tr ":" "\n" + echo ${PATH//:/\\n} } # Append specified path to the end of PATH.