Upgrade some debug printing to debug statements.
This commit is contained in:
@@ -23,9 +23,7 @@ setenv LC_TIME en_US.UTF-8
|
|||||||
|
|
||||||
set CSHENV_TCSHRC_SOURCED
|
set CSHENV_TCSHRC_SOURCED
|
||||||
|
|
||||||
if( $?CSHENV_DEBUG ) then
|
_debug "Starting tcshrc..."
|
||||||
echo "Starting tcshrc..."
|
|
||||||
endif
|
|
||||||
|
|
||||||
#if( -z ${_} ) then
|
#if( -z ${_} ) then
|
||||||
#echo $0
|
#echo $0
|
||||||
@@ -38,9 +36,7 @@ endif
|
|||||||
#echo tcshrc hook lives at: ${CSHENV_TCSHRC_PATH}
|
#echo tcshrc hook lives at: ${CSHENV_TCSHRC_PATH}
|
||||||
|
|
||||||
if( -c `tty` ) then
|
if( -c `tty` ) then
|
||||||
if( $?CSHENV_DEBUG ) then
|
_debug "Going to source core tcshrc..."
|
||||||
echo "Going to source core tcshrc..."
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Capture the original path, so that we don't
|
# Capture the original path, so that we don't
|
||||||
# keep infinitely expanding it.
|
# keep infinitely expanding it.
|
||||||
@@ -55,9 +51,7 @@ endif
|
|||||||
|
|
||||||
# Not using tcshrc bits for non-login shells. Will decide what to do later.
|
# Not using tcshrc bits for non-login shells. Will decide what to do later.
|
||||||
|
|
||||||
if( $?CSHENV_DEBUG ) then
|
_debug "Ending tcshrc..."
|
||||||
echo "Ending tcshrc..."
|
|
||||||
endif
|
|
||||||
|
|
||||||
###########################
|
###########################
|
||||||
# vim: ft=tcsh
|
# vim: ft=tcsh
|
||||||
|
|||||||
@@ -23,9 +23,7 @@ if( $?tcsh ) then
|
|||||||
echo "We are on a very ancient TCSH! There may be many problems..."
|
echo "We are on a very ancient TCSH! There may be many problems..."
|
||||||
else
|
else
|
||||||
if( $tcsh_minor == 14 && $tcsh_patch < 2 ) then
|
if( $tcsh_minor == 14 && $tcsh_patch < 2 ) then
|
||||||
if( $?CSHENV_DEBUG ) then
|
_debug "We may not have ADAM's patches..."
|
||||||
echo "We may not have ADAM's patches..."
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -54,7 +52,7 @@ if( $?CSHENV_HISTORY_SIZE ) then
|
|||||||
set history=${CSHENV_HISTORY_SIZE}
|
set history=${CSHENV_HISTORY_SIZE}
|
||||||
endif
|
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
|
# This safe_source alias is incredibly delicate. It drives the whole
|
||||||
# optional sourcing mechanism -- DO NOT MESS WITH IT!
|
# optional sourcing mechanism -- DO NOT MESS WITH IT!
|
||||||
alias safe_source 'eval "if ( -f \!:1 ) then \\
|
alias safe_source 'eval "if ( -f \!:1 ) then \\
|
||||||
|
|||||||
Reference in New Issue
Block a user