diff options
-rw-r--r-- | ksh/kshrc | 3 | ||||
-rw-r--r-- | sh/shrc | 3 |
2 files changed, 3 insertions, 3 deletions
@@ -6,9 +6,6 @@ set -o emacs HISTFILE=$HOME/.ksh_history HISTSIZE=$((1 << 10)) -# If HOSTNAME isn't set by this version of ksh, set it -HOSTNAME=$(uname -n) - # Load any supplementary scripts for kshrc in "$HOME"/.kshrc.d/*.ksh ; do [[ -e $kshrc ]] && . "$kshrc" @@ -7,6 +7,9 @@ command -p stty -ixon -ctlecho 2>/dev/null # Keep around 4K lines of history in memory HISTSIZE=$((1 << 12)) +# If HOSTNAME isn't set by this shell, we'll do it +[ -n "$HOSTNAME" ] || HOSTNAME=$(uname -n) + # Don't warn me about new mail unset -v MAILCHECK |