Skip to content

Instantly share code, notes, and snippets.

View knyazer's full-sized avatar
🐈‍⬛

Roman Knyazhitskiy knyazer

🐈‍⬛
View GitHub Profile
@knyazer
knyazer / add_to_fish_config.fish
Last active January 21, 2025 21:51
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