From 2f30fb62469971a5506ac38f682e3dde542fae52 Mon Sep 17 00:00:00 2001 From: Chloe Kudryavtsev Date: Wed, 22 Jan 2020 19:21:48 -0500 Subject: zsh/twitch: check for streamlink bin --- dot_zsh/functions/twitch | 1 + 1 file changed, 1 insertion(+) diff --git a/dot_zsh/functions/twitch b/dot_zsh/functions/twitch index 974649d..8b852f4 100644 --- a/dot_zsh/functions/twitch +++ b/dot_zsh/functions/twitch @@ -1,5 +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 "$@" -- cgit v1.2.3