-
On MacOS, when I open a brand new session/window, I expect the working directory to be "home" but Ghostty starts up in the directory that I was in when the last session/window closed out. However, a new tab opened in the new session will open in the home directory. MacOS version: 15.2 (24C101) Ghostty config:
|
Beta Was this translation helpful? Give feedback.
Answered by
gniting
Dec 27, 2024
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gniting
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Answering my own question in case anyone else runs into this.
Essentially, the option:
window-save-state = always
will conflict with the optionworking-directory = home
cause the saved state will override it.In addition, if you have this system preference turned off, then it acts as a double whammy.
Solution:
Set
window-save-state = never
and set a default window width and height for Ghostty. That should get you moving along the right path of having Ghostty start with a particular size and always in the startup directory of your choosing.