diff options
author | Ryan Kavanagh <rak@debian.org> | 2013-09-03 17:15:55 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2013-09-03 17:16:27 -0400 |
commit | bb61a220f4f470342274ccf83fca770f498c1d94 (patch) | |
tree | 9e2e2926b9d27d6e50d6c6a887095607f3f27b01 /root/.profile | |
parent | Update rlwrap version (diff) |
Added kshrc, profile for root
Diffstat (limited to 'root/.profile')
-rw-r--r-- | root/.profile | 23 |
1 files changed, 23 insertions, 0 deletions
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 |