zsh plugin that retrieves and displays the NHL's schedule
- 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
- 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
Help menu