Skip to content

Instantly share code, notes, and snippets.

@grahamannett
grahamannett / add_to_fish_config.fish
Created September 28, 2024 19:27 — forked from knyazer/add_to_fish_config.fish
Bringing AI to Git commit.
function gcm
# Check if llm is installed, if not, install it
if not type -q llm
echo "'llm' is not installed. Attempting to install it using pip..."
if pip install llm
echo "'llm' installed successfully."
else
echo "Failed to install 'llm'. Please install it manually and try again."
return 1
end