mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2025-10-07 07:22:36 +02:00
"$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
@ -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…
x
Reference in New Issue
Block a user