microsoft / inshellisense

IDE style command line auto complete
MIT License
8.24k stars 181 forks source link

feat: infer shell when not specified #45

Closed cpendery closed 8 months ago

cpendery commented 8 months ago

Description

Expands on #43 to further address #39 by inferring the shell, when possible, from the process's ppid.

Testing

Closes #39

Delta456 commented 8 months ago

I really wouldn't recommend implicitly binding if the --bind command isn't used.

cpendery commented 8 months ago

I really wouldn't recommend implicitly binding if the --bind command isn't used.

This doesn't create a binding implicitly, it only starts the user's shell without prompting if it can be correctly detected.