/zsh-nhl-schedule

zsh plugin for displaying the NHL's schedule

Primary LanguageShellMIT LicenseMIT

zsh-nhl-schedule

zsh plugin that retrieves and displays the NHL's schedule

Oh My Zsh Installation

  1. Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins)
git clone https://github.com/Matt561/zsh-nhl-schedule.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/nhl-schedule
  1. Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc):
plugins=( 
    # other plugins...
    nhl-schedule
)

Dependencies

jq - A lightweight command-line JSON processor Used to parse JSON response from NHL API

brew install jq

GNU coreutils - the basic file, shell and text manipulation utilities of the GNU operating system. Used for the date command to convert timestamps to the user's local timezone

brew install coreutils

Example output

image

Help menu

image