diff options
Diffstat (limited to 'qutebrowser/components/misccommands.py')
-rw-r--r-- | qutebrowser/components/misccommands.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qutebrowser/components/misccommands.py b/qutebrowser/components/misccommands.py index 5af483aba..120806bfe 100644 --- a/qutebrowser/components/misccommands.py +++ b/qutebrowser/components/misccommands.py @@ -385,3 +385,9 @@ def devtools_focus(tab: apitypes.Tab) -> None: tab.data.splitter.cycle_focus() except apitypes.InspectorError as e: raise cmdutils.CommandError(e) + + +@cmdutils.register(name='Ni!') +def knights_who_say_ni() -> None: + """We are the Knights Who Say... 'Ni'!""" # noqa: D400 + raise cmdutils.CommandError("Do you demand a shrubbery?") |