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.