From 926e620b5e03a32d06d2e1dc40af6bcd4a165b1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Sat, 16 Dec 2023 17:29:34 +0100 Subject: [PATCH] Fix shell title --- hm/common.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hm/common.nix b/hm/common.nix index 6cf59d9..49d1d94 100644 --- a/hm/common.nix +++ b/hm/common.nix @@ -196,7 +196,10 @@ in duration = "$( test -n \"$__TIMER\" && echo $(( $EPOCHREALTIME - $\{__TIMER:-EPOCHREALTIME})) || echo 0 )"; # UPST Implement this properly in home-manager, would allow for bash support }; - extraUpdatePS1 = ''unset __TIMER''; + extraUpdatePS1 = '' + unset __TIMER + echo -en "\033]0; $USER@$HOST $PWD\007" + ''; }; gpg = { enable = true;