Commands used to generate prompt appear in command completed notification
When using fish
(and probably also bash with some fancy script to generate the prompt), after running a command I sometimes get command completed notifications that don't contain the command I was running, but instead some git
commands that are used to generate the prompt, like checking if the current directory is a git repo, getting the current branch etc. This is with gnome-console-43.0-2.fc37.x86_64
and vte291-gtk4-0.70.3-1.fc37.x86_64
.
If I remember things correctly this did not happen with gnome-terminal (+ the Fedora patches to add notifications).