summaryrefslogtreecommitdiff
path: root/distrib/sparc/miniroot/dot.profile
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/sparc/miniroot/dot.profile')
-rw-r--r--distrib/sparc/miniroot/dot.profile8
1 files changed, 8 insertions, 0 deletions
diff --git a/distrib/sparc/miniroot/dot.profile b/distrib/sparc/miniroot/dot.profile
index ddcbb3c887c..3c852f21ab6 100644
--- a/distrib/sparc/miniroot/dot.profile
+++ b/distrib/sparc/miniroot/dot.profile
@@ -32,9 +32,17 @@
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
export PATH
+
TERM=sun
export TERM
+if [ -e /usr/bin/vim ]; then
+ EDITOR=vim
+else
+ EDITOR=ed
+fi
+export EDITOR
+
umask 022
if [ "X${DONEPROFILE}" = "X" ]; then