Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 73 lines (67 sloc) 2.191 kB
c780177 @jasperla Start collecting some dot files
authored
1 # (t)csh initialization
2
3 alias ii 'cd -; cd -'
4 alias pkg_replace 'pkg_add -D installed \!*'
5 alias gp git pull
6 alias n 'nedit'
7 alias mcr make check-register
8 alias mcf make clean fake
9 alias mr make regress
10 alias fmtDESCR 'fmt -w 72 pkg/DESCR >f; mv f pkg/DESCR'
11 alias pb 'pb -p -b pb'
12 alias bp 'cp \!:1{,.orig}'
13 #alias index 'grep \!* /usr/ports/INDEX | perl -pi -e 's,\|.*,,g''
14 alias c 'cvs -q up -Pd \!*'
15 alias sm make show=MAINTAINER
16 alias pdiff diff -u pkg/PLIST.orig pkg/PLIST
17 alias mm make makesum
18 alias mce make clean extract
19 alias mcc make clean configure
20 alias mcp make clean patch
21 alias mca make clean=all
22 alias mup make update-patches
23 alias pld make port-lib-depends-check
24 alias bt transmission-cli
25 alias l ls
26 alias term 'xterm &'
27 alias e 'emacs \!* &'
28 alias m 'emacs -nw'
29 alias i 'source ~/.cshrc'
30
31 set path = ( ~/bin /bin /sbin /usr/{bin,sbin,X11R6/bin,local/bin,local/sbin,games} /usr/local/jdk-1.7.0/bin/ .)
32
33 set filec
34 set complete enhance
35 set history = 2000
36 set histfile = "$HOME/.history"
37 set savehist = (2000 merge) # keep history
38 set autolist
39 set autoexpand
40 set histdup = erase
41 unset ignoreeof
42 set notify
43 set noclobber
44 set mail = (/var/mail/$USER)
45 set mch = `hostname -s`
46 set nobeep
47 set editor = "mg"
48 set EDITOR = "mg"
49 set PDIR = "/usr/ports"
50 set PL = $PDIR/infrastructure/bin/portslogger
51 set ARCH = `arch -s`
52 set SVN_EDITOR = "mg"
53 alias dav 'cadaver https://webdav.phil.uu.nl/~lievisse/'
54 alias prompt 'set prompt = "$mch:q"":$cwd:t {\!} "'
55 alias cd 'cd \!*; prompt'
56 alias chdir 'cd \!*; prompt'
57 alias popd 'popd \!*; prompt'
58 alias pushd 'pushd \!*; prompt'
59 alias clean_cvs 'find . -type d -name CVS | xargs rm -fr'
60 cd .
61 umask 22
62
63 set hostnames = `cat /etc/hosts | grep -v \# | awk '{print $3}'`
64 set usernames = (jasper root ftp "")
65
66 # some help with commandline completion
67 complete cd 'p/1/d/'
68 complete rm 'p/*/f:^*.{c,h,cc,C,S,s,cpp,pl,java}/' # try to protect source files
69 complete ssh 'n/-l/$usernames/' 'p/*/$hostnames/' 'c/*@/$hostnames/'
70 complete {ping,nslookup,remotesyncing,traceroute,telnet,ftp,ncftp} 'p/*/$hostnames/'
71 complete scp 'n/-l/$usernames/' 'c/*@/$hostnames/:'
72 complete sftp 'n/-l/$usernames/' 'p/*/$hostnames/' 'c/*@/$hostnames/'
Something went wrong with that request. Please try again.