Created
          February 25, 2025 03:45 
        
      - 
      
- 
        Save ErmisCat/e5a5e7db9ba77bb237673661e4c4c60d to your computer and use it in GitHub Desktop. 
    zsh movie quotes
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 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