From a19ae72c8278338681ce5f2df33beb6c9cf3ef98 Mon Sep 17 00:00:00 2001 From: Austin Bumbalough Date: Fri, 3 Jul 2020 08:34:43 -0500 Subject: [PATCH] "$EDITOR $1" caused error in Alacritty terminal. Splitting the qutoes into "$EDITOR" "$1" fixed the issue. Not sure why. (#742) Co-authored-by: Austin Bumbalough --- .local/bin/linkhandler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/linkhandler b/.local/bin/linkhandler index e720641..7c7e96f 100755 --- a/.local/bin/linkhandler +++ b/.local/bin/linkhandler @@ -17,6 +17,6 @@ case "$1" in *mp3|*flac|*opus|*mp3?source*) setsid -f tsp curl -LO "$1" >/dev/null 2>&1 ;; *) - if [ -f "$1" ]; then "$TERMINAL" -e "$EDITOR $1" + if [ -f "$1" ]; then "$TERMINAL" -e "$EDITOR" "$1" else setsid -f "$BROWSER" "$1" >/dev/null 2>&1; fi ;; esac