From a68a9cf47e2f0efdd2ffcc038ca4ea221fee6743 Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Sun, 26 Jan 2014 16:05:33 -0500 Subject: [PATCH] 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. --- tcshrc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/tcshrc b/tcshrc index 4bda0ad..88f2df8 100644 --- a/tcshrc +++ b/tcshrc @@ -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 ###########################