Revert some accidental changes >_<
This commit is contained in:
parent
d20872d576
commit
f7b517f3aa
@ -27,6 +27,6 @@
|
||||
path=/tmp/qutebrowser_$(mktemp XXXXXXXX).html
|
||||
|
||||
curl "$QUTE_URL" > $path
|
||||
xterm -e vim "$path"
|
||||
urxvt -e vim "$path"
|
||||
|
||||
rm "$path"
|
||||
|
@ -166,7 +166,6 @@ def fuzzy_url(urlstr, cwd=None, relative=False, do_search=True):
|
||||
path = None
|
||||
|
||||
stripped = urlstr.strip()
|
||||
|
||||
if path is not None and os.path.exists(path):
|
||||
log.url.debug("URL is a local file")
|
||||
url = QUrl.fromLocalFile(path)
|
||||
@ -182,7 +181,6 @@ def fuzzy_url(urlstr, cwd=None, relative=False, do_search=True):
|
||||
url = qurl_from_user_input(stripped)
|
||||
log.url.debug("Converting fuzzy term {} to URL -> {}".format(
|
||||
urlstr, url.toDisplayString()))
|
||||
|
||||
if do_search and config.get('general', 'auto-search'):
|
||||
qtutils.ensure_valid(url)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user