Reworked sourcing order to something more sensible
This commit is contained in:
22
tcshrc
22
tcshrc
@ -82,21 +82,18 @@ endif
|
||||
setenv LSCOLORS 'ExFxcxdxbxegedabagacEB'
|
||||
setenv CLICOLOR_FORCE
|
||||
|
||||
if( $?CSHENV_DEBUG ) then
|
||||
echo "Trying to source tcshrc.aliases"
|
||||
endif
|
||||
source ${CSHENV_DIR}/tcshrc.aliases
|
||||
|
||||
if( $?CSHENV_DEBUG ) then
|
||||
echo "Trying to source tcshrc.bindkeys"
|
||||
endif
|
||||
source ${CSHENV_DIR}/tcshrc.bindkeys
|
||||
|
||||
if( $?CSHENV_DEBUG ) then
|
||||
echo "Trying to source tcshrc.${CSHENV_SYSTEM}"
|
||||
endif
|
||||
safe_source ${CSHENV_DIR}/tcshrc.${CSHENV_SYSTEM}
|
||||
|
||||
# Having figured out the system, then we can load specific aliases
|
||||
|
||||
if( $?CSHENV_DEBUG ) then
|
||||
echo "Trying to source tcshrc.aliases"
|
||||
endif
|
||||
source ${CSHENV_DIR}/tcshrc.aliases
|
||||
|
||||
if( $?CSHENV_DEBUG ) then
|
||||
echo "Trying to source tcshrc.${CSHENV_HOSTNAME}"
|
||||
endif
|
||||
@ -106,6 +103,11 @@ if( $?CSHENV_ORGANIZATION ) then
|
||||
safe_source ${CSHENV_DIR}/tcshrc.${CSHENV_ORGANIZATION}
|
||||
endif
|
||||
|
||||
if( $?CSHENV_DEBUG ) then
|
||||
echo "Trying to source tcshrc.bindkeys"
|
||||
endif
|
||||
source ${CSHENV_DIR}/tcshrc.bindkeys
|
||||
|
||||
set path=( ${path} /usr/sbin /sbin )
|
||||
|
||||
# TCSHRC Prompt is the LAST thing we do, since it's the entry to
|
||||
|
Reference in New Issue
Block a user