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

`clipea alias` only half working #22

Open dave1010 opened 10 months ago

dave1010 commented 10 months ago

Sourcing will only work when clipea is already sourced!

The clipea alias command should be reworked. It probably doesn't need the llm at all.

clipea alias
📎🟢$ echo "alias '??'='source /Users/dave/.local/pipx/venvs/clipea-cli/lib/python3.12/site-packages/clipea/clipea.zsh'" >> ~/.zshrc

Execute? [y/N] y
To manually source the file, you can use the following command:

$ source ~/.zshrc

Execute? [y/N] y
Error: Oh My Zsh can't be loaded from: /bin/sh. You need to run zsh instead.