diff --git a/tcshrc b/tcshrc index f356cb9..03244c3 100644 --- a/tcshrc +++ b/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