Fix viewsource userscript

For months I've been wondering what created these files in my home
directory ...
This commit is contained in:
Kevin Velghe 2016-09-29 20:58:21 +02:00
parent 80b5c9127e
commit aa6d71ce68

View File

@ -24,9 +24,9 @@
# Caveat: Does not use authentication of any kind. Add it in if you want it to.
#
path=/tmp/qutebrowser_$(mktemp XXXXXXXX).html
path=$(mktemp --tmpdir qutebrowser_XXXXXXXX.html)
curl "$QUTE_URL" > $path
curl "$QUTE_URL" > "$path"
urxvt -e vim "$path"
rm "$path"