1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 13:50:09 +00:00

Merge pull request #1683 from mnme/master

replace hostname -s with hostname in ys theme for compatibility
This commit is contained in:
Robby Russell 2013-12-02 23:54:12 -08:00
commit a762b3e85b

View file

@ -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.