Kitty: Open new tabs/windows/os-windows with the working directory of the current one

Created on 27 Apr 2018  路  4Comments  路  Source: kovidgoyal/kitty

On linux you can get this from /proc/PID_OF_SHELL/cwd. Alternatively you could do something like vte and put something in /etc/profile.d to snoop the directory in PROMPT_COMMAND: https://github.com/GNOME/vte/blob/master/src/vte.sh (or lie and claim to be vte to that script and use the same protocol...)

Most helpful comment

new_tab_with_cwd
new_os_window_with_cwd
new_window_with_cwd

All 4 comments

Already implemented, search kitty.conf for with_cwd

This doesn't exist: Ignoring unknown config key: with_cwd Is it a bug or has the key changed name?

new_tab_with_cwd
new_os_window_with_cwd
new_window_with_cwd

Was this page helpful?
0 / 5 - 0 ratings

Related issues

atomsymbol picture atomsymbol  路  3Comments

skosch picture skosch  路  3Comments

mihaicristiantanase picture mihaicristiantanase  路  3Comments

hujianxin picture hujianxin  路  3Comments

wavexx picture wavexx  路  3Comments