This commit is contained in:
q
2019-01-28 19:44:44 +02:00
parent 1ff37fbfe5
commit eaac92da74

View File

@@ -412,3 +412,7 @@ function path_remove_duplicates {
PATH=$( echo $PATH | awk -F: '{for (i=1;i<=NF;i++) { if ( !x[$i]++ ) printf("%s:",$i); }}' | sed 's,:\+$,,g' ) PATH=$( echo $PATH | awk -F: '{for (i=1;i<=NF;i++) { if ( !x[$i]++ ) printf("%s:",$i); }}' | sed 's,:\+$,,g' )
export PATH export PATH
} }
function whichcat {
which "$1" | xargs cat
}