2011-06-21 09:31:29 +04:00
|
|
|
# $NetBSD: dot.cshrc,v 1.22 2011/06/21 05:31:29 erh Exp $
|
1993-12-12 05:26:18 +03:00
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
alias h history
|
|
|
|
alias j jobs -l
|
2006-09-01 02:33:14 +04:00
|
|
|
alias hup '( set pid=$< ; kill -HUP $pid ) < /var/run/\!$.pid'
|
|
|
|
alias la ls -a
|
|
|
|
alias lf ls -FA
|
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'
|
|
|
|
|
2006-09-01 02:33:14 +04:00
|
|
|
setenv BLOCKSIZE 1k
|
|
|
|
|
2009-02-15 04:31:43 +03:00
|
|
|
# Uncomment the following line(s) to install binary packages
|
2011-06-21 09:31:29 +04:00
|
|
|
# from ftp.NetBSD.org via pkg_add. (See also pkg_install.conf)
|
|
|
|
#setenv PKG_PATH "ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -m)/5.1/All"
|
|
|
|
#setenv PKG_PATH "${PKG_PATH};ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -m)/5.0/All"
|
2008-11-11 02:17:13 +03:00
|
|
|
|
2006-09-01 02:33:14 +04:00
|
|
|
set history=1000
|
2008-11-19 21:07:19 +03:00
|
|
|
set path=(/sbin /usr/sbin /bin /usr/bin /usr/pkg/sbin /usr/pkg/bin /usr/X11R7/bin /usr/X11R6/bin /usr/local/sbin /usr/local/bin)
|
2006-09-01 02:33:14 +04:00
|
|
|
|
|
|
|
# directory stuff: cdpath/cd/back
|
|
|
|
set cdpath=(/usr/src/{sys,bin,sbin,usr.{bin,sbin},lib,libexec,share,local,games,gnu/{usr.{bin,sbin},libexec,lib,games}})
|
|
|
|
|
1999-06-15 09:44:22 +04:00
|
|
|
if ($?prompt && -x /usr/bin/id ) then
|
1998-01-10 03:51:56 +03:00
|
|
|
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
|