summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorAustin Bumbalough <abumbalough@users.noreply.github.com>2020-07-03 08:34:43 -0500
committerGitHub <noreply@github.com>2020-07-03 09:34:43 -0400
commita19ae72c8278338681ce5f2df33beb6c9cf3ef98 (patch)
tree1c177059b2ad6bd6a3dc8202195644cc6406c5a2 /.local
parent1cb3d43726f7d4b89e1e6866b195f1a9e174c9ee (diff)
downloadeibhear-a19ae72c8278338681ce5f2df33beb6c9cf3ef98.tar.gz
eibhear-a19ae72c8278338681ce5f2df33beb6c9cf3ef98.tar.zst
eibhear-a19ae72c8278338681ce5f2df33beb6c9cf3ef98.zip
"$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 <austin@bumbalough.xyz>
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/linkhandler2
1 files changed, 1 insertions, 1 deletions
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