Skip to content

Instantly share code, notes, and snippets.

@ErmisCat
Created February 25, 2025 03:45
Show Gist options
  • Select an option

  • Save ErmisCat/e5a5e7db9ba77bb237673661e4c4c60d to your computer and use it in GitHub Desktop.

Select an option

Save ErmisCat/e5a5e7db9ba77bb237673661e4c4c60d to your computer and use it in GitHub Desktop.

Revisions

  1. ErmisCat created this gist Feb 25, 2025.
    7 changes: 7 additions & 0 deletions .zsh_functions.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    function moviequote() {
    local response
    response=$(curl -s "https://quoteapi.pythonanywhere.com/random")
    local quote
    quote=$(echo "$response" | jq -r '.Quotes[].quote')
    echo "\"$quote\""
    }