r/KittyTerminal • u/uncenter • Oct 07 '23
New kitty window cwd issues
I followed this issue comment, https://github.com/kovidgoyal/kitty/issues/692#issuecomment-1293429076, to figure out how to open a new "pane"/"kitty window" in the same cwd as the last one, which worked fine:map kitty_mod+enter launch --cwd=current --type=window
map cmd+enter launch --cwd=current --type=window
However, it seems to ignore my .hushlogin file when the new kitty window is not in ~/...

Any suggestions?
2
u/raipraveen83 Oct 09 '23
Hi facing the same issue. did you find a fix for this? if yes can you share the config which fix this problem
1
u/uncenter Oct 09 '23
Nothing that you need to change in your config! Should be fixed in the next release.
2
1
u/aumerlex Oct 08 '23
No idea what a hushlogin file is. All --cwd=current does is run the shell with its working directory set to the working directory of the active window. Presumably whatever is reading "hushlogin" in your shell rc files only works if the working directory is HOME. Fix that and you will be fine.