1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 09:33:42 +08:00

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

Fixes #10871
This commit is contained in:
Robby Russell 2023-10-13 15:38:13 -07:00 committed by GitHub
parent 2db53ff1da
commit f7130bb529
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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