Need a way to run a startup script #6867

Open
opened 2026-01-31 00:49:20 +00:00 by claunia · 0 comments
Owner

Originally created by @randomascii on GitHub (Mar 14, 2020).

All shells have some way to run a startup script in order to configure the environment. I don't recall how it works on Linux but the Windows command prompt has /k

The new terminal cannot be taken seriously without this feature. Many other features (setting the starting directory) become unnecessary once you have this feature.

All that is needed is an entry in the settings .json file to specify a startup script.

Originally created by @randomascii on GitHub (Mar 14, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: Yep! 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> All shells have some way to run a startup script in order to configure the environment. I don't recall how it works on Linux but the Windows command prompt has /k The new terminal cannot be taken seriously without this feature. Many other features (setting the starting directory) become unnecessary once you have this feature. <!-- A startup script can set up aliases, environment variables, and other configuration details. It can be carried over from the Windows command prompt instead of requiring porting to a new .json based setting system, and it will be infinitely flexible. --> All that is needed is an entry in the settings .json file to specify a startup script. <!-- Please support "StartupScript" : "c:\bin\shellstart.bat", -->
claunia added the Issue-QuestionNeeds-TriageNeeds-Tag-FixResolution-Answered labels 2026-01-31 00:49:20 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6867