浏览代码

Merge pull request #1683 from mnme/master

replace hostname -s with hostname in ys theme for compatibility
Robby Russell 11 年之前
父节点
当前提交
a762b3e85b
共有 1 个文件被更改,包括 1 次插入1 次删除
  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.