fix: hostname

This commit is contained in:
Strix 2023-11-19 01:18:33 +01:00
parent c7957ac270
commit 02ace21e60
No known key found for this signature in database
GPG key ID: 5F35B3B8537287A7

View file

@ -14,7 +14,7 @@ if [ -f "$HOME/.oh-my-zsh/oh-my-zsh.sh" ]; then
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
else else
echo "oh-my-zsh not detected :(" echo "oh-my-zsh not detected :("
PS1="$(whoami)@$(hostname) $ " PS1="$(whoami)@${HOSTNAME:-$(hostname)} $ "
fi fi
update_dotfiles() { update_dotfiles() {