Ctrl + l is not clearing the terminal nor the tty sessions what could be wrong here?
{
config,
lib,
...
}: {
options = {
myhome.bash.enable = lib.mkEnableOption "enables bash";
};
config = lib.mkIf config.myhome.bash.enable {
programs.bash = {
enable = true;
historyControl = ["erasedups" "ignorespace"];
shellOptions = [
"autocd"
"cdspell"
"cmdhist"
"dotglob"
"histappend"
"expand_aliases"
];
initExtra = ''
# ignore upper and lowercase when TAB completion
bind "set completion-ignore-case on"
# set vim keybindings
set -o vi
'';
shellAliases = {
cat = "bat --color=always --style=plain";
fcd = "cd $(fd --type d | sk)";
fm = "yazi";
grep = "rg";
ls = "eza -alh --icons --git --group-directories-first";
rm = "trash";
ytmp3 = ''yt-dlp -x --continue --add-metadata --embed-thumbnail --audio-format mp3 --audio-quality 0 --metadata-from-title="%(artist)s - %(title)s" --prefer-ffmpeg -o "%(title)s.%(ext)s"'';
};
};
};
}