mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Merge pull request #1683 from mnme/master
replace hostname -s with hostname in ys theme for compatibility
This commit is contained in:
commit
a762b3e85b
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
# Machine name.
|
||||
function box_name {
|
||||
[ -f ~/.box-name ] && cat ~/.box-name || hostname -s
|
||||
[ -f ~/.box-name ] && cat ~/.box-name || hostname
|
||||
}
|
||||
|
||||
# Directory info.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue