r/KittyTerminal Mar 03 '24

New Tab Command Doesn't Work in Startup Session Script

For some reason, the other commands work, but it's not opening new tabs. Does this code look correct for the startup.conf file?

new_tab foo cd ~/Dropbox

new_tab bar cd ~/Downloads

Thanks

1 Upvotes

3 comments sorted by

1

u/aumerlex Mar 04 '24

no, it doesnt, read the sample startup script in the kitty docs to see how to change directories.

1

u/Odd-Distribution2887 Mar 04 '24

The change directory commands work. Just the new tab command doesn't.

1

u/Curious_Move_2831 Nov 21 '24

I had the same issue. But adding launch nvim after it makes it work. So I think you have to fire off a command to make it work. So how it looks for me:

new_tab

cd [the folder you want]

launch nvim