Adjust for dumbness in how macos sed replaces things.

`tr` is more straightforward.
This commit is contained in:
2022-04-15 15:58:34 -04:00
parent 5c7b5f3ff8
commit f725a1d9e0

View File

@ -21,7 +21,7 @@ if( ${prompt_hcolor} == 0 ) then
set reference_colors=`shuf -e $reference_colors`
else
#echo "FALLBACK COLOR!"
set reference_colors=`echo $reference_colors | sed -e 's/ /\n/g' | sort -R | xargs`
set reference_colors=`echo $reference_colors | tr " " "\n" | sort -R | xargs`
endif
endif
@ -36,7 +36,7 @@ if( ${prompt_hsym} == 0 ) then # && ${prompt_hcolor} == 0 ) then
#set reference_colors=`shuf -e $reference_colors`
else
#echo "FALLBACK CHAR!"
set referencechars=`echo $referencechars | sed -e 's/ /\n/g' | sort -R | xargs`
set referencechars=`echo $referencechars | tr " " "\n" | sort -R | xargs`
endif
endif