From e6aa6b82353b452d69ff7a5742e622d65549ae52 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 27 Feb 2018 17:29:36 +0100 Subject: [PATCH] Add missing docs for {url:host} --- doc/help/commands.asciidoc | 1 + qutebrowser/commands/__init__.py | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index 58dfaaa16..7c8ea1688 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -14,6 +14,7 @@ For command arguments, there are also some variables you can use: - `{url}` expands to the URL of the current page - `{url:pretty}` expands to the URL in decoded format +- `{url:host}` expands to the host part of the URL - `{clipboard}` expands to the clipboard contents - `{primary}` expands to the primary selection contents diff --git a/qutebrowser/commands/__init__.py b/qutebrowser/commands/__init__.py index 0bbc9852b..6ba8a9ae3 100644 --- a/qutebrowser/commands/__init__.py +++ b/qutebrowser/commands/__init__.py @@ -26,6 +26,7 @@ For command arguments, there are also some variables you can use: - `{url}` expands to the URL of the current page - `{url:pretty}` expands to the URL in decoded format +- `{url:host}` expands to the host part of the URL - `{clipboard}` expands to the clipboard contents - `{primary}` expands to the primary selection contents