diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-17 18:48:17 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-17 18:48:17 +1300 |
commit | fa4e7a2bbcabe213d410c4983b6faba8fab05e4a (patch) | |
tree | e58af0a5ba3a5157bc6bd39f5d1aa728c3e65965 /sh/shrc | |
parent | Knock out $HOST from kshrc (diff) | |
download | dotfiles-fa4e7a2bbcabe213d410c4983b6faba8fab05e4a.tar.gz dotfiles-fa4e7a2bbcabe213d410c4983b6faba8fab05e4a.zip |
Move HOSTNAME call into shrc
Diffstat (limited to 'sh/shrc')
-rw-r--r-- | sh/shrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |