aboutsummaryrefslogtreecommitdiff
path: root/ksh/kshrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-17 18:46:04 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-17 18:46:44 +1300
commit1faa14a4794ec2d54ff69a628f9b64e3d292d361 (patch)
tree8fdefa117f2b1f2d1f672a0b47d1c519fecc1638 /ksh/kshrc
parentAdd SHLVL handling for ksh (diff)
downloaddotfiles-1faa14a4794ec2d54ff69a628f9b64e3d292d361.tar.gz
dotfiles-1faa14a4794ec2d54ff69a628f9b64e3d292d361.zip
Knock out $HOST from kshrc
Not needed really
Diffstat (limited to 'ksh/kshrc')
-rw-r--r--ksh/kshrc3
1 files changed, 1 insertions, 2 deletions
diff --git a/ksh/kshrc b/ksh/kshrc
index c45d4018..2f0d31a6 100644
--- a/ksh/kshrc
+++ b/ksh/kshrc
@@ -6,9 +6,8 @@ set -o emacs
HISTFILE=$HOME/.ksh_history
HISTSIZE=$((1 << 10))
-# If HOST and HOSTNAME aren't set by this version of ksh, set them
+# If HOSTNAME isn't set by this version of ksh, set it
HOSTNAME=$(uname -n)
-HOST=${HOSTNAME%%.*}
# Load any supplementary scripts
for kshrc in "$HOME"/.kshrc.d/*.ksh ; do