refactor: vastly more readable path function by removing cruft and the

loop
This commit is contained in:
2026-03-29 16:40:54 -05:00
parent 4dd3c3eed6
commit 72ef502512

View File

@@ -22,10 +22,5 @@ function new_note() {
} }
function path() { function path() {
set -f echo -e ${PATH//:/\\n}
array=(${${PATH}//:/\\n})
for element in "${array[@]}"
do
echo $element
done
} }