Currently Pal uses a generic prompt for command generation that asks for "shell" stuff. This can lead to bashisms that don't work in fish, for example.
Therefore, Pal should detect and inject the following into prompts where relevant:
- OS: Linux (+distro?) or Mac for now
- Shell (we already detect this I think)
There's probably no harm in caching this info, though it won't be expensive to fetch anyway.
Currently Pal uses a generic prompt for command generation that asks for "shell" stuff. This can lead to bashisms that don't work in fish, for example.
Therefore, Pal should detect and inject the following into prompts where relevant:
There's probably no harm in caching this info, though it won't be expensive to fetch anyway.