mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-03 16:33:47 +02:00
Change all hostname calls for $HOST or $SHORT_HOST
This commit is contained in:
1 parent
4310a15de5
commit
95d795e8ca
8 files changed
+8
-8
No files matched your search
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user