From bb61a220f4f470342274ccf83fca770f498c1d94 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Tue, 3 Sep 2013 17:15:55 -0400 Subject: Added kshrc, profile for root --- root/.kshrc | 5 +++++ root/.profile | 23 +++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 root/.kshrc create mode 100644 root/.profile (limited to 'root') 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 -- cgit v1.2.3