"$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>
This commit is contained in:
parent
1cb3d43726
commit
a19ae72c82
1 changed files with 1 additions and 1 deletions
|
@ -17,6 +17,6 @@ case "$1" in
|
||||||
*mp3|*flac|*opus|*mp3?source*)
|
*mp3|*flac|*opus|*mp3?source*)
|
||||||
setsid -f tsp curl -LO "$1" >/dev/null 2>&1 ;;
|
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 ;;
|
else setsid -f "$BROWSER" "$1" >/dev/null 2>&1; fi ;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue