mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-06 03:10:35 +01:00
Change all hostname calls for $HOST or $SHORT_HOST
This commit is contained in:
parent
1093fe551a
commit
deb6ebcc76
8 changed files with 8 additions and 8 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue