br can't be launched in a kitty startup session
I would like to define a kitty startup session that launches br on startup. However, if i add launch br then kitty fails with
Failed to launch child: br
With error: No such file or directory
Press Enter or Esc to exit
If i add launch broot it works but then i can't use :cd etc. After the window is open i can run br and it works as usual but that's not what i'm trying to achieve.
Does someone know a solution to this?
At first sight, kitty sessions don't seem to see the functions defined in your bash session and the launch command seems to be restricted to launching executables. I have no idea how this works. Maybe ask on the kitty project ?
Will do, thank you for the quick response and your awesome programs!
The initial solution in my case is launch --hold fish -ilc br. Without -il it also starts but the maintainer of kitty suggested to add it.
However, changing the directory with broot still doesn't work. As soon as broot is exited, the shell also exits and is restarted with the original cwd. I don't understand the reason.
Maybe someone knows how to make it work.
I close this as it's probably related to kitty.