summaryrefslogtreecommitdiffstats
path: root/.cshrc
diff options
context:
space:
mode:
Diffstat (limited to '.cshrc')
-rw-r--r--.cshrc32
1 files changed, 32 insertions, 0 deletions
diff --git a/.cshrc b/.cshrc
new file mode 100644
index 0000000..91c03d9
--- /dev/null
+++ b/.cshrc
@@ -0,0 +1,32 @@
+# $OpenBSD: dot.cshrc,v 1.11 2022/08/10 07:40:37 tb Exp $
+#
+# csh initialization
+
+alias df df -k
+alias du du -k
+alias f finger
+alias h 'history -r | more'
+alias j jobs -l
+alias la ls -a
+alias lf ls -FA
+alias ll ls -lsA
+alias tset 'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars'
+alias z suspend
+
+set path = (~/bin /bin /sbin /usr/{bin,sbin,X11R6/bin,local/bin,local/sbin})
+
+if ($?prompt) then
+ # An interactive shell -- set some stuff up
+ set filec
+ set history = 1000
+ set ignoreeof
+ set mail = (/var/mail/$USER)
+ set mch = `hostname -s`
+ alias prompt 'set prompt = "$mch:q"":$cwd:t {\!} "'
+ alias cd 'cd \!*; prompt'
+ alias chdir 'cd \!*; prompt'
+ alias popd 'popd \!*; prompt'
+ alias pushd 'pushd \!*; prompt'
+ cd .
+ umask 22
+endif