diff options
| author | Austin Bumbalough <abumbalough@users.noreply.github.com> | 2020-07-03 08:34:43 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-03 09:34:43 -0400 |
| commit | a19ae72c8278338681ce5f2df33beb6c9cf3ef98 (patch) | |
| tree | 1c177059b2ad6bd6a3dc8202195644cc6406c5a2 | |
| parent | 1cb3d43726f7d4b89e1e6866b195f1a9e174c9ee (diff) | |
| download | eibhear-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>
| -rwxr-xr-x | .local/bin/linkhandler | 2 |
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 |
