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
|
which shuf >& /dev/null
|
||||||
if( $? == 0 ) then
|
if( $? == 0 ) then
|
||||||
setenv CSHENV_DETECTED_SHUF
|
set cshenv_detected_shuf
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if( ! $?unknown_tty ) then
|
if( ! $?unknown_tty ) then
|
||||||
|
|||||||
+2
-2
@@ -78,7 +78,7 @@ while( ${prompt_hcolor} == 0 )
|
|||||||
_debug colorshuffle
|
_debug colorshuffle
|
||||||
#echo
|
#echo
|
||||||
# Shuffle, if supported
|
# Shuffle, if supported
|
||||||
if( $?CSHENV_DETECTED_SHUF ) then
|
if( $?cshenv_detected_shuf ) then
|
||||||
set reference_colors=`shuf -e $reference_colors`
|
set reference_colors=`shuf -e $reference_colors`
|
||||||
else
|
else
|
||||||
#echo "FALLBACK COLOR!"
|
#echo "FALLBACK COLOR!"
|
||||||
@@ -97,7 +97,7 @@ end
|
|||||||
while( ${prompt_hsym} == 0 )
|
while( ${prompt_hsym} == 0 )
|
||||||
_debug symbolshuffle
|
_debug symbolshuffle
|
||||||
#echo
|
#echo
|
||||||
if( $?CSHENV_DETECTED_SHUF ) then
|
if( $?cshenv_detected_shuf ) then
|
||||||
set referencechars=`shuf -e $referencechars`
|
set referencechars=`shuf -e $referencechars`
|
||||||
#set reference_colors=`shuf -e $reference_colors`
|
#set reference_colors=`shuf -e $reference_colors`
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user