View | Details | Raw Unified | Return to bug 401470
Collapse All | Expand All

(-)Orig/csh.login (-3 / +2 lines)
Lines 101-107 Link Here
101
set _upath=( /usr/local/bin /usr/bin /bin )
101
set _upath=( /usr/local/bin /usr/bin /bin )
102
if ( "$HOME" != "/" ) then
102
if ( "$HOME" != "/" ) then
103
    foreach _d (${HOME}/bin/${CPU} ${HOME}/bin)
103
    foreach _d (${HOME}/bin/${CPU} ${HOME}/bin)
104
	if ( -d $_d ) set _hpath=( $_hpath $_d )
104
	if ( -d $_d ) set _hpath=( $_d $_hpath )
105
    end
105
    end
106
endif
106
endif
107
if ( "$uid" == "0" ) then
107
if ( "$uid" == "0" ) then
Lines 132-138 Link Here
132
#
132
#
133
# Doing only one rehash
133
# Doing only one rehash
134
#
134
#
135
set -f path=( $_hpath $_spath $path $_upath )
135
set -f path=( $_hpath $_spath $_upath )
136
unset _upath
136
unset _upath
137
unset _spath
137
unset _spath
138
unset _hpath
138
unset _hpath
Lines 299-305 Link Here
299
#
299
#
300
if (${?TERM} && -o /dev/$tty && ${?prompt}) then
300
if (${?TERM} && -o /dev/$tty && ${?prompt}) then
301
    if (${TERM} == "xterm") then
301
    if (${TERM} == "xterm") then
302
	if ( -f /etc/motd ) cat /etc/motd
303
	if (! ${?SSH_TTY} ) then
302
	if (! ${?SSH_TTY} ) then
304
	    # Go home
303
	    # Go home
305
	    cd; echo "Directory: $cwd"
304
	    cd; echo "Directory: $cwd"

Return to bug 401470