Change all hostname calls for $HOST or $SHORT_HOST

This commit is contained in:
Marc Cornellà committed 2014-11-06 18:33:56 +01:00
1 parent 4310a15de5
commit 95d795e8ca
8 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@
# Machine name.
function box_name {
[ -f ~/.box-name ] && cat ~/.box-name || hostname
[ -f ~/.box-name ] && cat ~/.box-name || echo $HOST
}
# Directory info.