Skip to content

Instantly share code, notes, and snippets.

View knyazer's full-sized avatar
🐈‍⬛
meow

Roman Knyazhitskiy knyazer

🐈‍⬛
meow
View GitHub Profile
@knyazer
knyazer / add_to_fish_config.fish
Last active September 28, 2024 19:27
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