fabiospampinato / vscode-terminals

An extension for setting-up multiple terminals at once, or just running some commands.
MIT License
121 stars 19 forks source link

Add ability to configure based on OS #81

Open jakedemian opened 1 year ago

jakedemian commented 1 year ago

Not sure the best way to implement it so I won't throw suggestions at you, but I have a use case where I'd love to have the ability to have different configurations based on my active OS.

To keep my use case short: I alternate doing development throughout a typical day on both my desktop (Linux) machine and my macbook. My desktop uses bash, and my macbook uses zsh. I would love to be able to set a different shellPath based on the active OS.

My current solution is simply not to commit my terminals.json to source control, but having all of my configurations in source control is my preferred way to work, and I think adding this feature would be a nice QOL improvement.

fabiospampinato commented 11 months ago

It could be implemented, but it would complicate things a bit 🤔 It'd be better, if you can, if you could make those commands portable across bash/zsh, so the entire problem disappears for you.