summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/emacs/.gitignore1
-rw-r--r--.cshrc18
-rw-r--r--.kshrc10
3 files changed, 29 insertions, 0 deletions
diff --git a/.config/emacs/.gitignore b/.config/emacs/.gitignore
index ef4ec20..0b3a0d4 100644
--- a/.config/emacs/.gitignore
+++ b/.config/emacs/.gitignore
@@ -7,3 +7,4 @@ server/*
session.*
tramp
url/*
+saves
diff --git a/.cshrc b/.cshrc
new file mode 100644
index 0000000..81905a4
--- /dev/null
+++ b/.cshrc
@@ -0,0 +1,18 @@
+# this file is processed on every csh invocation
+
+# set PATH and MANPATH based on machine type
+eval `/usr/local/bin/defaultpaths -csh`
+
+# set default file/directory creation protection
+umask 027
+
+setenv ENTOMB yes
+
+# skip the rest if the shell is non-interactive, i.e. is running a script
+if ( ! $?prompt ) exit
+
+set prompt = "`shorthostname` \! % "
+set history = 50
+set notify = on
+
+alias mail mailx
diff --git a/.kshrc b/.kshrc
new file mode 100644
index 0000000..bd4de5c
--- /dev/null
+++ b/.kshrc
@@ -0,0 +1,10 @@
+# this file is processed on each invocation of ksh
+
+# skip the rest if the shell is non-interactive, i.e. is running a script
+[[ "$-" != *i* ]] && return
+
+PS1="`shorthostname` ! $ "
+HISTSIZE=50
+HISTFILE=$HOME/.sh_history # pdksh doesn't set this by default
+
+alias mail=mailx