From 02ace21e60f456a1d23e9a0c1dea6e561f11d96b Mon Sep 17 00:00:00 2001 From: Raine Date: Sun, 19 Nov 2023 01:18:33 +0100 Subject: [PATCH] fix: hostname --- crates/10-zsh/files/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/10-zsh/files/.zshrc b/crates/10-zsh/files/.zshrc index 1334f5c..6ce5b9b 100644 --- a/crates/10-zsh/files/.zshrc +++ b/crates/10-zsh/files/.zshrc @@ -14,7 +14,7 @@ if [ -f "$HOME/.oh-my-zsh/oh-my-zsh.sh" ]; then source $ZSH/oh-my-zsh.sh else echo "oh-my-zsh not detected :(" - PS1="$(whoami)@$(hostname) $ " + PS1="$(whoami)@${HOSTNAME:-$(hostname)} $ " fi update_dotfiles() {