changed to EDITOR env var

This commit is contained in:
Ranomier 2025-02-12 16:42:35 +01:00
parent 398c57c782
commit 9f6b164251

View file

@ -9,5 +9,5 @@ mkdir -p "$TEMP_FOLDER"
cd "$TEMP_FOLDER" || exit 1 cd "$TEMP_FOLDER" || exit 1
yt-dlp --write-auto-sub --sub-langs 'en.*,.*orig' --convert-subs=srt --skip-download "$*" yt-dlp --write-auto-sub --sub-langs 'en.*,.*orig' --convert-subs=srt --skip-download "$*"
nvim "$TEMP_FOLDER"/*-orig* "$EDITOR" "$TEMP_FOLDER"/*-orig*
"$SHELL" "$SHELL"