From bd946058a8f68baf25764c20e24924b5fe194920 Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 31 Jan 2023 14:56:29 -0600 Subject: fix error message with dash --- browser | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'browser') diff --git a/browser b/browser index 4ac15cc..7aba898 100755 --- a/browser +++ b/browser @@ -6,7 +6,7 @@ bsc ffc lwc brave" -if [ `echo "$@" | cut -d'/' -f3` == "yewtu.be" ]; then +if [ "`echo "$@" | cut -d'/' -f3`" = "yewtu.be" ]; then BROWSERS=`printf "mpv\n%s" "$BROWSERS"` fi brow=`printf "xclip\n%s" "$BROWSERS" | barmenu -l 15` -- cgit v1.2.3