From 76cac812064fa749ffc258a20398c6f6250860c5 Mon Sep 17 00:00:00 2001 From: Justin Hileman Date: Sun, 26 Mar 2023 10:22:17 -0400 Subject: [PATCH] Don't overwrite $hostname Fixes #339 --- functions/fish_title.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/fish_title.fish b/functions/fish_title.fish index 67f34d2..3a97daf 100644 --- a/functions/fish_title.fish +++ b/functions/fish_title.fish @@ -8,8 +8,8 @@ function __bobthefish_title_user -S -d 'Display actual user if different from $d if [ "$theme_title_display_user" = 'yes' ] if [ "$USER" != "$default_user" -o -n "$SSH_CLIENT" ] set -l IFS . - uname -n | read -l hostname __ - echo -ns (whoami) '@' $hostname ' ' + uname -n | read -l host __ + echo -ns (whoami) '@' $host ' ' end end end