mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-27 13:44:45 +01:00
Change all hostname calls for $HOST or $SHORT_HOST
This commit is contained in:
@@ -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