TheR1D / shell_gpt

A command-line productivity tool powered by AI large language models like GPT-4, will help you accomplish your tasks faster and more efficiently.
MIT License
8.81k stars 693 forks source link

sgp --install-integration fails to detect zsh #528

Closed AskAlice closed 2 months ago

AskAlice commented 3 months ago

perhaps instead of checking if /bin/zsh or /bin/bash is the $SHELL, perhaps check if $SHELL === $(which zsh) || $(which bash) as my zsh is at /usr/bin/zsh on arch linux

or just .find("bash") / .find("zsh") on the shell var