Browse Source

Merge pull request #1683 from mnme/master

replace hostname -s with hostname in ys theme for compatibility
Robby Russell 11 years ago
parent
commit
a762b3e85b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      themes/ys.zsh-theme

+ 1 - 1
themes/ys.zsh-theme

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