summaryrefslogtreecommitdiff
path: root/.kshrc
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-03-27 15:41:47 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-03-27 15:41:47 -0400
commit5c42078bd052705b69d6ea93ff7617445be43789 (patch)
tree36adbf6174360d0e20ece7f8a399f519b823308d /.kshrc
parenta7a1d39731eff9716a500579d94904ec92608a6f (diff)
add files
Diffstat (limited to '.kshrc')
-rw-r--r--.kshrc10
1 files changed, 10 insertions, 0 deletions
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