Upgrade some debug printing to debug statements.
This commit is contained in:
@@ -42,14 +42,10 @@ setenv LC_TIME en_US.UTF-8
|
||||
|
||||
set CSHENV_TCSHRC_SOURCED
|
||||
|
||||
if( $?CSHENV_DEBUG ) then
|
||||
echo "Starting tcshrc..."
|
||||
endif
|
||||
_debug "Starting tcshrc..."
|
||||
|
||||
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.
|
||||
@@ -64,9 +60,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
|
||||
|
||||
@@ -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 \\
|
||||
|
||||
Reference in New Issue
Block a user