From c00aafd16c4ea72cda0297e94f76153ecf2682ac Mon Sep 17 00:00:00 2001 From: Christoph Schlosser Date: Wed, 25 Jun 2025 21:28:02 +0200 Subject: Use fish builtin prompt_hostname instead of the corresponding program --- conf.d/cstar.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.d/cstar.fish b/conf.d/cstar.fish index 6ca5a6b..9a09ebd 100644 --- a/conf.d/cstar.fish +++ b/conf.d/cstar.fish @@ -134,7 +134,7 @@ end function cstar_user --on-variable __fish_initialized set -l user_string (whoami) if test -n "$SSH_CONNECTION" - set -f user_string "$user_string@$(hostname)" + set -f user_string "$user_string@$(prompt_hostname)" end cstar_colorize cstar_user "$user_string" $cstar_user_bg $cstar_user_fg end -- cgit v1.2.3