Relocated prompt sourcing to last, for config.

Done this way any user sourced bits will always be before prompt, and
thus get to control it.  Aliases should also be moved last, and will
happen in another commit.
This commit is contained in:
2014-01-26 16:05:33 -05:00
parent 1279c2a7ba
commit a68a9cf47e

13
tcshrc
View File

@ -70,11 +70,6 @@ if( $?CSHENV_DEBUG ) then
endif
source ${CSHENV_DIR}/tcshrc.aliases
if( $?CSHENV_DEBUG ) then
echo "Trying to source tcshrc.prompt"
endif
source ${CSHENV_DIR}/tcshrc.prompt
if( $?CSHENV_DEBUG ) then
echo "Trying to source tcshrc.bindkeys"
endif
@ -94,6 +89,14 @@ if( $?CSHENV_ORGANIZATION ) then
safe_source ${CSHENV_DIR}/tcshrc.${CSHENV_ORGANIZATION}
endif
# TCSHRC Prompt is the LAST thing we do, since it's the entry to
# user interface
if( $?CSHENV_DEBUG ) then
echo "Trying to source tcshrc.prompt"
endif
source ${CSHENV_DIR}/tcshrc.prompt
###########################
# vim: ft=tcsh
###########################