diff --git a/zsh/zsh_functions b/zsh/zsh_functions index 2548524..dbdb8f0 100644 --- a/zsh/zsh_functions +++ b/zsh/zsh_functions @@ -22,10 +22,5 @@ function new_note() { } function path() { - set -f - array=(${${PATH}//:/\\n}) - for element in "${array[@]}" - do - echo $element - done + echo -e ${PATH//:/\\n} }