You are not logged in.
I use atuin + ble.sh + powerline with bash in a kitty terminal.
Recently I noticed that when I open a new tab, each new tab I manually open after has a 3 appended to the powerline prompt.
My kitty auto-starts via gnome on login with a few tabs and windows
If I disable powerline, the prompt is fine and this does not happen with terminals other than kitty.
If I hit enter once in the new tab, it goes away.
Some of the things I've tried are to load things one by one to see if its an exit code of something bash / .bashrc is loading but that doesn't appear to affect it weirdly.
Other things like:
kitty @ launch --type=tab bash --noprofile --rcfile ~/.bashrc-clean-env -i
kitty @ launch --type=tab bash --noprofile --norc -i -c '\''exec bash --noprofile --rcfile ~/.bashrc-clean'\''
rcfile with set +x exec 2> ~/bash-clean-env-debug.log
Since nobody else has reported the issue on the kitty github, I am guessing it is not a kitty / shell-integration issue?
How do I pinpoint what is causing the 3 to appear in new tabs only?
Last edited by Strykar (Yesterday 20:19:13)
Offline
when I open a new tab, each new tab I manually open after has a 3 … hit enter once in the new tab, it goes away
atuin
?
But this might also be some process status (ie. would have to come from the bashrc)
What happens if you enter "false", do you get an "1"?
Offline
That was my first thought too, happy to test again.
false does get me a 1.
Offline
Then it's the return status of the last command - what does your bashrc look like?
You can also try "bash -x" what will trace the invocation.
Offline