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:
13
tcshrc
13
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
|
||||
###########################
|
||||
|
Reference in New Issue
Block a user