From 0d484ffa651a93263e1c92a3f5db5f17f271e6fd Mon Sep 17 00:00:00 2001 From: tg Date: Thu, 25 Feb 2010 20:48:10 +0000 Subject: [PATCH] some OSes pre-define $ENV; let this be another hint to their users --- dot.mkshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dot.mkshrc b/dot.mkshrc index ef12e05..ccea2f5 100644 --- a/dot.mkshrc +++ b/dot.mkshrc @@ -1,5 +1,5 @@ # $Id$ -# $MirOS: src/bin/mksh/dot.mkshrc,v 1.53 2010/01/25 14:29:34 tg Exp $ +# $MirOS: src/bin/mksh/dot.mkshrc,v 1.54 2010/02/25 20:48:10 tg Exp $ #- # Copyright (c) 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010 # Thorsten Glaser @@ -19,7 +19,7 @@ # damage or existence of a defect, except proven that it results out # of said person's immediate fault when using the work as intended. #- -# ~/.mkshrc: mksh initialisation file for interactive shells +# ${ENV:-~/.mkshrc}: mksh initialisation file for interactive shells : ${EDITOR:=/bin/ed} ${TERM:=vt100} ${HOSTNAME:=$(ulimit -c 0;hostname -s 2>&-)} [[ $HOSTNAME = @(localhost|*([ ])) ]] && HOSTNAME=$(ulimit -c 0;hostname 2>&-)