1997-10-28 06:33:18 +03:00
|
|
|
# $NetBSD: dot.cshrc,v 1.7 1997/10/28 03:33:18 mrg Exp $
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
set history=1000
|
1996-09-30 21:33:21 +04:00
|
|
|
set path=(/sbin /usr/sbin /usr/local/sbin /bin /usr/bin /usr/local/bin)
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
# directory stuff: cdpath/cd/back
|
1997-02-15 13:02:07 +03:00
|
|
|
set cdpath=(/sys /usr/src/{bin,sbin,usr.{bin,sbin},lib,libexec,share,contrib,local,games,old,gnu/{usr.bin,libexec,lib,games}})
|
1993-12-12 05:26:18 +03:00
|
|
|
|
|
|
|
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
|
1993-12-12 05:26:18 +03:00
|
|
|
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
|
|
|
|
|
1997-10-28 06:33:18 +03:00
|
|
|
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
|
|
|
|
set prompt="`hostname -s`# "
|
|
|
|
endif
|
1997-02-15 13:02:07 +03:00
|
|
|
|
|
|
|
umask 022
|