summaryrefslogtreecommitdiffstats
path: root/etc/root/dot.cshrc
blob: 7db55b85800e9141a6797ee939391792a5148f85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#	$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
OpenPOWER on IntegriCloud