mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-21 02:46:45 +08: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
@@ -21,7 +21,7 @@ function prompt_char {
|
||||
}
|
||||
|
||||
function box_name {
|
||||
[ -f ~/.box-name ] && cat ~/.box-name || hostname -s
|
||||
[ -f ~/.box-name ] && cat ~/.box-name || echo $SHORT_HOST || echo $HOST
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user