aboutsummaryrefslogtreecommitdiff
path: root/root
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2013-09-03 17:15:55 -0400
committerRyan Kavanagh <rak@debian.org>2013-09-03 17:16:27 -0400
commitbb61a220f4f470342274ccf83fca770f498c1d94 (patch)
tree9e2e2926b9d27d6e50d6c6a887095607f3f27b01 /root
parentUpdate rlwrap version (diff)
Added kshrc, profile for root
Diffstat (limited to 'root')
-rw-r--r--root/.kshrc5
-rw-r--r--root/.profile23
2 files changed, 28 insertions, 0 deletions
diff --git a/root/.kshrc b/root/.kshrc
new file mode 100644
index 0000000..a7cfe06
--- /dev/null
+++ b/root/.kshrc
@@ -0,0 +1,5 @@
+. /root/.profile
+HISTFILE=$HOME/.sh_history
+export HISTFILE
+
+set -o emacs
diff --git a/root/.profile b/root/.profile
new file mode 100644
index 0000000..d9a672d
--- /dev/null
+++ b/root/.profile
@@ -0,0 +1,23 @@
+# $OpenBSD: dot.profile,v 1.9 2010/12/13 12:54:31 millert Exp $
+#
+# sh/ksh initialization
+
+PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
+export PATH
+PS1="(\A) \h:\w\$ "
+export PS1
+: ${HOME='/root'}
+export HOME
+umask 022
+
+case "$-" in
+*i*) # interactive shell
+ if [ -x /usr/bin/tset ]; then
+ if [ X"$XTERM_VERSION" = X"" ]; then
+ eval `/usr/bin/tset -sQ '-munknown:?vt220' $TERM`
+ else
+ eval `/usr/bin/tset -IsQ '-munknown:?vt220' $TERM`
+ fi
+ fi
+ ;;
+esac