wood #3

Merged
lachtan merged 3 commits from wood into master 2023-09-27 19:06:33 +02:00
Showing only changes of commit cd27b2464a - Show all commits

View File

@@ -78,7 +78,7 @@ function remove_path() {
}
function uniq_path() {
echo "$PATH" | tr ":" "\n" | awk '!seen[$0]++' | tr "\n" ":" | sed -r 's/:+/:/g' | sed -r 's/^:|:$//g'
path | awk '!seen[$0]++' | tr "\n" ":" | sed -r 's/:+/:/g' | sed -r 's/^:|:$//g'
}
function set_uniq_path() {