Skip to content

Platform awareness #33

@scottyeager

Description

@scottyeager

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:

  1. OS: Linux (+distro?) or Mac for now
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions