diff --git a/src/vimtutor b/src/vimtutor index 409c10c04..b6f7b918a 100755 --- a/src/vimtutor +++ b/src/vimtutor @@ -157,7 +157,7 @@ done # We need a temp file for the copy. First try using a standard command. -tmp="${TMPDIR-/tmp}" +tmp="${TMPDIR-@TERMUX_PREFIX@/tmp}" # shellcheck disable=SC2186 TUTORCOPY=$(mktemp "$tmp/tutorXXXXXX" || tempfile -p tutor || echo none)