diff options
| author | 2020-01-17 13:51:08 -0500 | |
|---|---|---|
| committer | 2020-01-17 13:55:39 -0500 | |
| commit | 0f4e3d4a1523b8e32a2f58080962489cec5507dd (patch) | |
| tree | 726143446e9f06803fde0979e5d370cc7ec3ae54 /dot_zsh/functions | |
| parent | add a license (diff) | |
zsh: add twitch function
Diffstat (limited to 'dot_zsh/functions')
| -rw-r--r-- | dot_zsh/functions/twitch | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dot_zsh/functions/twitch b/dot_zsh/functions/twitch new file mode 100644 index 0000000..974649d --- /dev/null +++ b/dot_zsh/functions/twitch @@ -0,0 +1,5 @@ +#!/bin/zsh +[[ $# -gt 0 ]] || return +zstyle -s :function:twitch ${1:l} stream || stream=${1:l} +shift +streamlink twitch.tv/$stream "$@" |
