NetBSD/etc/root/dot.cshrc

36 lines
897 B
Plaintext
Raw Normal View History

# $NetBSD: dot.cshrc,v 1.9 1998/01/10 00:51:56 perry Exp $
1993-03-21 12:45:37 +03:00
set history=1000
set path=(/sbin /usr/sbin /bin /usr/bin /usr/pkg/sbin /usr/pkg/bin /usr/X11R6/bin /usr/local/sbin /usr/local/bin)
1993-03-21 12:45:37 +03:00
# directory stuff: cdpath/cd/back
set cdpath=(/sys /usr/src/{bin,sbin,usr.{bin,sbin},lib,libexec,share,local,games,gnu/{usr.bin,libexec,lib,games}})
setenv BLOCKSIZE 1k
1993-03-21 12:45:37 +03:00
alias h history
1997-02-15 13:02:07 +03:00
alias hup 'kill -HUP `cat /var/run/\!$.pid`'
1993-03-21 12:45:37 +03:00
alias j jobs -l
alias ll ls -l
1993-03-21 12:45:37 +03:00
alias x exit
1997-02-15 13:02:07 +03:00
alias z suspend
alias back 'set back="$old"; set old="$cwd"; cd "$back"; unset back; dirs'
alias cd 'set old="$cwd"; chdir \!*'
1993-03-21 12:45:37 +03:00
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
if (`/usr/bin/id -u` == 0) then
set prompt="`hostname -s`# "
else
set prompt="`hostname -s`% "
endif
1993-03-21 12:45:37 +03:00
endif
1997-02-15 13:02:07 +03:00
umask 022