Shuf detection doesn't use an env-var.
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ _debug "Sourcing prompt setup and definitions..."
|
||||
|
||||
which shuf >& /dev/null
|
||||
if( $? == 0 ) then
|
||||
setenv CSHENV_DETECTED_SHUF
|
||||
set cshenv_detected_shuf
|
||||
endif
|
||||
|
||||
if( ! $?unknown_tty ) then
|
||||
|
||||
+2
-2
@@ -78,7 +78,7 @@ while( ${prompt_hcolor} == 0 )
|
||||
_debug colorshuffle
|
||||
#echo
|
||||
# Shuffle, if supported
|
||||
if( $?CSHENV_DETECTED_SHUF ) then
|
||||
if( $?cshenv_detected_shuf ) then
|
||||
set reference_colors=`shuf -e $reference_colors`
|
||||
else
|
||||
#echo "FALLBACK COLOR!"
|
||||
@@ -97,7 +97,7 @@ end
|
||||
while( ${prompt_hsym} == 0 )
|
||||
_debug symbolshuffle
|
||||
#echo
|
||||
if( $?CSHENV_DETECTED_SHUF ) then
|
||||
if( $?cshenv_detected_shuf ) then
|
||||
set referencechars=`shuf -e $referencechars`
|
||||
#set reference_colors=`shuf -e $reference_colors`
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user