home: make clear command clear scrollback

This commit is contained in:
Elnu 2023-03-29 23:17:33 -07:00
parent 66e89a7b03
commit b8842cf24b

View file

@ -100,6 +100,9 @@ in
r = "ranger"; r = "ranger";
rm = "trash-put"; rm = "trash-put";
emacs = "emacsclient -nw"; emacs = "emacsclient -nw";
# Make clear command clear scrollback
# https://github.com/kovidgoyal/kitty/issues/268#issuecomment-355765686
clear = "printf '\\E[H\\E[3J'";
}; };
bashrcExtra = '' bashrcExtra = ''
# Modify killall for wrapped applications, e.g. firefox # Modify killall for wrapped applications, e.g. firefox