From b8842cf24b8b3bf257fadade6c5c5a7bae307225 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Wed, 29 Mar 2023 23:17:33 -0700 Subject: [PATCH] home: make clear command clear scrollback --- hosts/home.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/home.nix b/hosts/home.nix index d038d15..a09601b 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -100,6 +100,9 @@ in r = "ranger"; rm = "trash-put"; emacs = "emacsclient -nw"; + # Make clear command clear scrollback + # https://github.com/kovidgoyal/kitty/issues/268#issuecomment-355765686 + clear = "printf '\\E[H\\E[3J'"; }; bashrcExtra = '' # Modify killall for wrapped applications, e.g. firefox