Skip to content

Instantly share code, notes, and snippets.

@ErmisCat
Created February 25, 2025 03:45
Show Gist options
  • Save ErmisCat/e5a5e7db9ba77bb237673661e4c4c60d to your computer and use it in GitHub Desktop.
Save ErmisCat/e5a5e7db9ba77bb237673661e4c4c60d to your computer and use it in GitHub Desktop.
zsh movie quotes
function moviequote() {
local response
response=$(curl -s "https://quoteapi.pythonanywhere.com/random")
local quote
quote=$(echo "$response" | jq -r '.Quotes[].quote')
echo "\"$quote\""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment