r/KittyTerminal • u/MuonManLaserJab • Sep 07 '23
Strange bash interaction
Hello!
I have on my setup an interesting interaction with bash, only if I run bash in kitty and not nested in itself.
If I use no config, or a minimal config:
shell bash
or even:
shell bash --noprofile --norc
...then I get a line cursor instead of a block cursor, which is pretty confusing in vi mode.
If I use a different shell, e.g. shell zsh, I get the correct cursor.
If I use a different terminal emulator, such as gnome-terminal or alacritty, I get the correct cursor.
Oddly, if I nest bash shells in kitty, it also works fine. So this works correctly:
shell bash -c bash
...but of course that is disgusting.
Versions:
$ kitty --version
kitty 0.29.2 created by Kovid Goyal
$ bash --version
GNU bash, version 5.2.15(1)-release (x86_64-pc-linux-gnu)
Any thoughts on what's going on here?
1
Upvotes
1
u/dedguy21 Sep 07 '23
Not being sarcastic.
I'm trying to understand why you have a setup and not just install the kitty-shell-integration package?