dave1010 / clipea

📎🟢 Like Clippy but for the CLI. A blazing fast AI helper for your command line
MIT License
302 stars 11 forks source link

Added the ability to specify the OS via environment variable #40

Open barabum0 opened 5 months ago

barabum0 commented 5 months ago

Sometimes sys.platform identifies OS incorrectly (e.g. i have MacBook with macOS 14 and it identifies as posix, not darwin or osx or macos, as i expected)

so now platform is specified like this:

os.getenv("OS", sys.platform)