浏览代码

fix(gnzh): Don't show .local for local hostnames in theme

Fixes #10871
Robby Russell 7 月之前
父节点
当前提交
f7130bb529
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      themes/gnzh.zsh-theme

+ 1 - 1
themes/gnzh.zsh-theme

@@ -21,7 +21,7 @@ fi
 if [[ -n "$SSH_CLIENT"  ||  -n "$SSH2_CLIENT" ]]; then
   PR_HOST='%F{red}%M%f' # SSH
 else
-  PR_HOST='%F{green}%M%f' # no SSH
+  PR_HOST='%F{green}%m%f' # no SSH
 fi