diff options
Diffstat (limited to 'sh/shrc')
-rw-r--r-- | sh/shrc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -8,7 +8,9 @@ command -p stty -ixon -ctlecho 2>/dev/null HISTSIZE=$((1 << 12)) # If HOSTNAME isn't set by this shell, we'll do it -[ -n "$HOSTNAME" ] || HOSTNAME=$(uname -n) +if [ -z "$HOSTNAME" ] ; then + HOSTNAME=$(uname -n) +fi # Don't warn me about new mail unset -v MAILCHECK |