mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-22 17:24:23 +01:00
6a9f25ddaa
dot.rhosts entries which are wholly bogus and not worth a search on.
37 lines
688 B
Plaintext
37 lines
688 B
Plaintext
#csh .cshrc file
|
||
|
||
alias h history 25
|
||
alias j jobs -l
|
||
alias la ls -a
|
||
alias lf ls -FA
|
||
alias ll ls -lA
|
||
|
||
setenv EDITOR vi
|
||
setenv PAGER more
|
||
setenv BLOCKSIZE K
|
||
|
||
if ($?prompt) then
|
||
# An interactive shell -- set some stuff up
|
||
|
||
set noglob; eval `tset -s`; unset noglob
|
||
stty -istrip
|
||
|
||
set filec
|
||
set history = 100
|
||
set savehist = 100
|
||
set mail = (/var/mail/$USER)
|
||
|
||
# customize prompt - works with tcsh only
|
||
set machine = `hostname -s`
|
||
if ("$TERM" == xterm) then
|
||
alias cwdcmd 'echo -n "]0;${USER}@${machine}: `dirs`"'
|
||
set prompt = "> "
|
||
else
|
||
alias cwdcmd 'set prompt = "${USER}@${machine}:${cwd}> "'
|
||
endif
|
||
cwdcmd
|
||
|
||
# fix broken prompt after su
|
||
alias su 'su \!* ; cwdcmd'
|
||
endif
|