Really simple question. I know I can exit bash with "exit", CTRL-D, etc, and yes I know I'm using a Linux (sub)system, but when I'm on windows ALT-F4 is second nature. Naturally, I'm on windows when using WSL. I've managed to get it to exit when I type "`" (backtick) persistently via bashrc with a
bind -x '"`":"exit"'.
I can also get it to work per session with ALT-F4 by getting the keymap for ALT-F4 via CTRL-V, ALT-F4, (something like ^[[1;3S) and binding that to exit, but again, only for that session.
but if I use that same bind that exits per-session in my .bashrc and reload, it does not work, spitting out text (generally ;3S) instead. I know it's a trivial problem, I'd appreciate the help anyway.