Fixed path capture in startup hook for spaces
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user