Kitty: Open tab in the current working directory

Created on 18 Dec 2017  路  2Comments  路  Source: kovidgoyal/kitty

I'm really sorry to bother you with this since there's probably already a setting that enables this option.

How can I make it so kitty opens new tabs in the current working directory, instead of going back to cwd?

enhancement

Most helpful comment

Actually, with a bit of googling it turns out that it is possible to detect the current working directory of a child process using platform specific APIs. So, in theory this could be implemented.

All 2 comments

What's the difference between current working directory and cwd? Note that the terminal emulator cannot in general know what the cwd for the process running inside it is. So new tabs will open with whatever the cwd for the kitty process is.

Actually, with a bit of googling it turns out that it is possible to detect the current working directory of a child process using platform specific APIs. So, in theory this could be implemented.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jasminabasurita picture jasminabasurita  路  3Comments

JJGO picture JJGO  路  3Comments

Askannz picture Askannz  路  3Comments

hdriqi picture hdriqi  路  3Comments

hujianxin picture hujianxin  路  3Comments