Fixed path capture in startup hook for spaces

This commit is contained in:
2014-02-02 16:54:30 -05:00
parent dede1254ba
commit b830be4824

View File

@ -43,9 +43,9 @@ if( -c `tty` ) then
# Capture the original path, so that we don't # Capture the original path, so that we don't
# keep infinitely expanding it. # keep infinitely expanding it.
if( $?CSHENV_ORIGINAL_PATH ) then if( $?CSHENV_ORIGINAL_PATH ) then
setenv PATH ${CSHENV_ORIGINAL_PATH} setenv PATH "${CSHENV_ORIGINAL_PATH}"
else else
setenv CSHENV_ORIGINAL_PATH ${PATH} setenv CSHENV_ORIGINAL_PATH "${PATH}"
endif endif
source ${CSHENV_DIR}/tcshrc source ${CSHENV_DIR}/tcshrc