From f6b6d4ad989eb0b22aec67396f52bf94fe8cbf6c Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Sun, 28 Jun 2026 01:33:09 -0400 Subject: [PATCH] Shuf detection doesn't use an env-var. --- tcshrc.prompt.defs | 2 +- tcshrc.prompt.final | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tcshrc.prompt.defs b/tcshrc.prompt.defs index 0178c5b..d552766 100644 --- a/tcshrc.prompt.defs +++ b/tcshrc.prompt.defs @@ -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 diff --git a/tcshrc.prompt.final b/tcshrc.prompt.final index 468ae35..d0d63a2 100644 --- a/tcshrc.prompt.final +++ b/tcshrc.prompt.final @@ -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