Upgrade some debug printing to debug statements.

This commit is contained in:
2026-06-18 20:33:29 -04:00
parent 121b942543
commit abb0837ce1
2 changed files with 5 additions and 13 deletions
+3 -9
View File
@@ -23,9 +23,7 @@ setenv LC_TIME en_US.UTF-8
set CSHENV_TCSHRC_SOURCED
if( $?CSHENV_DEBUG ) then
echo "Starting tcshrc..."
endif
_debug "Starting tcshrc..."
#if( -z ${_} ) then
#echo $0
@@ -38,9 +36,7 @@ endif
#echo tcshrc hook lives at: ${CSHENV_TCSHRC_PATH}
if( -c `tty` ) then
if( $?CSHENV_DEBUG ) then
echo "Going to source core tcshrc..."
endif
_debug "Going to source core tcshrc..."
# Capture the original path, so that we don't
# keep infinitely expanding it.
@@ -55,9 +51,7 @@ endif
# Not using tcshrc bits for non-login shells. Will decide what to do later.
if( $?CSHENV_DEBUG ) then
echo "Ending tcshrc..."
endif
_debug "Ending tcshrc..."
###########################
# vim: ft=tcsh
+2 -4
View File
@@ -23,9 +23,7 @@ if( $?tcsh ) then
echo "We are on a very ancient TCSH! There may be many problems..."
else
if( $tcsh_minor == 14 && $tcsh_patch < 2 ) then
if( $?CSHENV_DEBUG ) then
echo "We may not have ADAM's patches..."
endif
_debug "We may not have ADAM's patches..."
endif
endif
@@ -54,7 +52,7 @@ if( $?CSHENV_HISTORY_SIZE ) then
set history=${CSHENV_HISTORY_SIZE}
endif
if( $?CSHENV_DEBUG ) echo "Setting up optional sourcing mechanism."
_debug "Setting up optional sourcing mechanism."
# This safe_source alias is incredibly delicate. It drives the whole
# optional sourcing mechanism -- DO NOT MESS WITH IT!
alias safe_source 'eval "if ( -f \!:1 ) then \\