Fix prompt shuffling when shuf is not found.

This commit is contained in:
2022-04-15 15:31:44 -04:00
parent fcc856f62b
commit 51e339ce74
2 changed files with 19 additions and 3 deletions

View File

@ -6,6 +6,11 @@ if( $?CSHENV_DEBUG ) then
echo "Sourcing prompt setup and definitions..."
endif
which shuf >& /dev/null
if( $? == 0 ) then
setenv CSHENV_DETECTED_SHUF
endif
if( ! $?unknown_tty ) then
set unknown_tty="?"
if( $?CSHENV_DEBUG ) then