diff options
Diffstat (limited to 'dot_zsh/functions/twitch')
| -rw-r--r-- | dot_zsh/functions/twitch | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dot_zsh/functions/twitch b/dot_zsh/functions/twitch new file mode 100644 index 0000000..8b852f4 --- /dev/null +++ b/dot_zsh/functions/twitch @@ -0,0 +1,6 @@ +#!/bin/zsh +[[ $# -gt 0 ]] || return +(( $+commands[streamlink] )) || return +zstyle -s :function:twitch ${1:l} stream || stream=${1:l} +shift +streamlink twitch.tv/$stream "$@" |
