Initial svn import
This commit is contained in:
37
startup_hooks/login
Normal file
37
startup_hooks/login
Normal file
@ -0,0 +1,37 @@
|
||||
set login_sourced
|
||||
|
||||
if( $?CSHENV_DEBUG ) then
|
||||
echo "Starting login..."
|
||||
endif
|
||||
|
||||
#if( ! $?CSHENV_DIR ) then
|
||||
#setenv CSHENV_DIR ~/proj/cshenv
|
||||
#endif
|
||||
|
||||
#echo "Under: " $_
|
||||
#echo "Zero: " $0
|
||||
|
||||
#if( -n "${_}" ) then
|
||||
# echo $0
|
||||
# setenv CSHENV_LOGIN_PATH $0
|
||||
#else
|
||||
# echo ${_}:1
|
||||
# setenv CSHENV_LOGIN_PATH "${_}:1"
|
||||
#else
|
||||
#endif
|
||||
|
||||
#echo login hook lives at: ${CSHENV_LOGIN_PATH}
|
||||
|
||||
|
||||
if( $?CSHENV_DEBUG ) then
|
||||
echo "Ending login..."
|
||||
endif
|
||||
|
||||
###########################
|
||||
# vim: ft=tcsh
|
||||
###########################
|
||||
|
||||
setenv LC_NUMERIC en_US.UTF-8
|
||||
setenv LC_MEASUREMENT en_US.UTF-8
|
||||
setenv LC_MONETARY en_US.UTF-8
|
||||
setenv LC_TIME en_US.UTF-8
|
41
startup_hooks/tcshrc
Normal file
41
startup_hooks/tcshrc
Normal file
@ -0,0 +1,41 @@
|
||||
set tcshrc_sourced
|
||||
|
||||
if( $?CSHENV_DEBUG ) then
|
||||
echo "Starting tcshrc..."
|
||||
endif
|
||||
|
||||
if( ! $?CSHENV_DIR ) then
|
||||
setenv CSHENV_DIR ~/proj/cshenv
|
||||
endif
|
||||
|
||||
if( $?CSHENV_DEBUG ) then
|
||||
echo "Setup CSHENV_DIR to: " ${CSHENV_DIR}
|
||||
endif
|
||||
|
||||
#if( -z ${_} ) then
|
||||
#echo $0
|
||||
#setenv CSHENV_TCSHRC_PATH $0
|
||||
#else
|
||||
#echo ${_}
|
||||
#setenv CSHENV_TCSHRC_PATH "${_}"
|
||||
#endif
|
||||
|
||||
#echo tcshrc hook lives at: ${CSHENV_TCSHRC_PATH}
|
||||
|
||||
if( -c `tty` ) then
|
||||
if( $?CSHENV_DEBUG ) then
|
||||
echo "Going to source core tcshrc..."
|
||||
endif
|
||||
source ${CSHENV_DIR}/tcshrc
|
||||
endif
|
||||
|
||||
# Not using tcshrc bits for non-login shells. Will decide what to do later.
|
||||
|
||||
if( $?CSHENV_DEBUG ) then
|
||||
echo "Ending tcshrc..."
|
||||
endif
|
||||
|
||||
###########################
|
||||
# vim: ft=tcsh
|
||||
###########################
|
||||
|
Reference in New Issue
Block a user