Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
O
oh-my-zsh
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • JIRA
    • JIRA
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • github
  • oh-my-zsh
  • Repository

Switch branch/tag
  • oh-my-zsh
  • plugins
  • rand-quote
History Find file
Download source code
zip tar.gz tar.bz2 tar
Download this directory
zip tar.gz tar.bz2 tar
  • Marc Cornellà's avatar
    rand-quote: refactor rand-quote function · 76bfa7dd
    Marc Cornellà authored 6 years ago
    - Make function variables local
    - Use prompt color sequences
    - Use guard clause to check for curl
    - Improved syntax
    Unverified
    76bfa7dd
Name
Last commit
Last update
..
README.md rand-quote: add README 6 years ago
rand-quote.plugin.zsh rand-quote: refactor rand-quote function 6 years ago
README.md

rand-quote plugin

Displays a random quote taken from quotationspage.com

Created by Eduardo San Martin Morote, aka Posva

Usage

Add the plugin to the plugins array in your zshrc file and restart zsh:

plugins=(... rand-quote)

Then, run quote to get a new random quote.