499107bbb3
even simple things like md5 and ping aren't in your path. This patch moves the custom root-path setting from .login to .cshrc, so that users who su to root get a decent (and consistent) path. An appeal to change /etc/login.conf to provide a decent path for all users seems to have been vetoed for the time being. As a result, users will still, by default, not find ping or md5 in their path. However, at least root gets a decent default now. Reviewed by: asmodai Approved by: jkh
25 lines
510 B
Plaintext
25 lines
510 B
Plaintext
# $FreeBSD$
|
|
#
|
|
#csh .cshrc file
|
|
|
|
alias h history 25
|
|
alias j jobs -l
|
|
alias la ls -a
|
|
alias lf ls -FA
|
|
alias ll ls -lA
|
|
|
|
set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin $HOME/bin)
|
|
setenv MANPATH "/usr/share/man:/usr/X11R6/man:/usr/local/man"
|
|
|
|
setenv PAGER more
|
|
setenv BLOCKSIZE K
|
|
|
|
if ($?prompt) then
|
|
# An interactive shell -- set some stuff up
|
|
set prompt = "`hostname -s`# "
|
|
set filec
|
|
set history = 100
|
|
set savehist = 100
|
|
set mail = (/var/mail/$USER)
|
|
endif
|