Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/Matt561/zsh-nhl-schedule

zsh plugin for displaying the NHL's schedule
https://github.com/Matt561/zsh-nhl-schedule

Last synced: about 2 months ago
JSON representation

zsh plugin for displaying the NHL's schedule

Lists

README

        

# 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)
```sh
git clone https://github.com/Matt561/zsh-nhl-schedule.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/nhl-schedule
```

2. Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc):
```sh
plugins=(
# other plugins...
nhl-schedule
)
```
---
Dependencies

[jq](https://stedolan.github.io/jq/) - A lightweight command-line JSON processor
Used to parse JSON response from NHL API

```sh
brew install jq
```

[GNU coreutils](https://www.gnu.org/software/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

```sh
brew install coreutils
```

Example output

image

Help menu

image