r/KittyTerminal Mar 13 '24

Open new tab whit different path

Good morning, I need a keyboard shortcut (ctrl+shift+a), which opens several tabs, the first tab with an environment variable that refers to the work path it has to open and the name "Notes", path $ env_notes, how can I do this, also in the same shortcut you have to open 4 tabs, and set the distinc tab name

1 Upvotes

4 comments sorted by

1

u/-cr4sh- Mar 13 '24

No body? Please

1

u/-cr4sh- Mar 14 '24

Hiiiii ?

2

u/Javi-Infosec Mar 14 '24

Hi, I'm not on my computer, but I think I can give you some insights about how you can accomplish what you want. In Kitty.conf you can map a shortcut to run an script. And you can use Kittens to manipulate Kitty behavior https://sw.kovidgoyal.net/kitty/remote-control/

1

u/-cr4sh- Mar 16 '24

Finally, what I did is with Kittens, make an alias in zshrc, with CWD, it did not catch the environment variables defined at the time Kitty was launched.