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

blueForestIcarus picture blueForestIcarus  路  31Comments

spinningarrow picture spinningarrow  路  31Comments

olynch picture olynch  路  42Comments

amnk picture amnk  路  28Comments

mihaicristiantanase picture mihaicristiantanase  路  62Comments