freebsd-src/etc/root/dot.cshrc
Joerg Wunsch 650bd71d67 dot.login:
Finally transform the "Don't login as root..." message to make it
clear that `su' is meant to be a command.  Will save us a lot of
questions about the user named `su'.  Make the message magically
disappear if the user did an ``su - root'', since it might be a bit
silly to ask him to perform an `su'...

dot.cshrc:

Remove the no-op `-g' options from the ls aliases, and replace them by
`-o'.  This way, if root does an `ls -l', he will see the immutable
flag and (hopefully) not be too surprised about the "Permission
denied".
1995-06-29 06:30:43 +00:00

30 lines
750 B
Plaintext

# $Id: dot.cshrc,v 1.12 1994/10/27 05:26:59 phk Exp $
#
alias mail Mail
set history=1000
set savehist=1000
set path=(/sbin /usr/sbin /bin /usr/bin /usr/local/bin)
# directory stuff: cdpath/cd/back
# set cdpath=(/sys/{i386,} /usr/src/{bin,sbin,usr.{bin,sbin},lib,libexec,share,contrib,etc,games,gnu,include,})
alias cd 'set old=$cwd; chdir \!*'
alias h history
alias j jobs -l
alias ll ls -lo
alias ls ls -o -k
alias back 'set back=$old; set old=$cwd; cd $back; unset back; dirs'
alias z suspend
alias x exit
alias pd pushd
alias pd2 pushd +2
alias pd3 pushd +3
alias pd4 pushd +4
alias tset 'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars'
if ($?prompt) then
set prompt="`hostname -s`# "
set filec
endif
setenv BLOCKSIZE K