How to change the default startup directory? #841

Closed
opened 2026-01-30 22:06:17 +00:00 by claunia · 4 comments
Owner

Originally created by @baabaaox on GitHub (May 8, 2019).

I think " C:\WINDOWS\System32" unfriendly to the user, Can you replace it with '%HOMEPATH%'?

Originally created by @baabaaox on GitHub (May 8, 2019). I think " C:\WINDOWS\System32" unfriendly to the user, Can you replace it with '%HOMEPATH%'?
claunia added the Resolution-Answered label 2026-01-30 22:06:17 +00:00
Author
Owner

@ccurrens commented on GitHub (May 8, 2019):

You can add: "startingDirectory": "C:\\Users\\$Username", to the entry under profiles in profiles.json. Just take note that it needs to be escaped since it's json.

There's a pretty good example here: https://gist.github.com/fcharlie/7530d36175bc5249f1ae92be536238cd

@ccurrens commented on GitHub (May 8, 2019): You can add: `"startingDirectory": "C:\\Users\\$Username",` to the entry under `profiles` in `profiles.json`. Just take note that it needs to be escaped since it's json. There's a pretty good example here: https://gist.github.com/fcharlie/7530d36175bc5249f1ae92be536238cd
Author
Owner

@baabaaox commented on GitHub (May 8, 2019):

@ccurrens Thanks! It works for me.

@baabaaox commented on GitHub (May 8, 2019): @ccurrens Thanks! It works for me.
Author
Owner

@AsciiWolf commented on GitHub (May 10, 2019):

Would it be possible to re-open this issue? Please, consider shipping Terminal with the startup directory setting changed to %HOMEPATH% by default. C:\WINDOWS\System32 is user unfriendly and confusing.

@AsciiWolf commented on GitHub (May 10, 2019): Would it be possible to re-open this issue? Please, consider shipping Terminal with the startup directory setting changed to `%HOMEPATH%` by default. `C:\WINDOWS\System32` is user unfriendly and confusing.
Author
Owner

@ccurrens commented on GitHub (May 10, 2019):

It looks like someone has already put out a PR for that #604

@ccurrens commented on GitHub (May 10, 2019): It looks like someone has already put out a PR for that #604
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#841