From 8d8d25ff4565e20c84c8f21785b43f8e68e41a76 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Tue, 4 Mar 2025 17:00:33 +0100 Subject: [PATCH] completions/bind: add super modifier --- share/completions/bind.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/bind.fish b/share/completions/bind.fish index 8699a1946..3ca324f9b 100644 --- a/share/completions/bind.fish +++ b/share/completions/bind.fish @@ -64,7 +64,7 @@ function __fish_bind_complete a/all function-names list-modes e/erase -- (commandline -xpc)[2..] 2>/dev/null or return 1 set -l token (commandline -ct) - if test (count $argv) = 0 && set -l prefix (string match -r -- '(.*,)?(ctrl-|alt-|shift-)*' $token) + if test (count $argv) = 0 && set -l prefix (string match -r -- '(.*,)?(ctrl-|alt-|shift-|super-)*' $token) printf '%sctrl-\tCtrl modifier…\n' $prefix printf '%sc-\tCtrl modifier…\n' $prefix printf '%salt-\tAlt modifier…\n' $prefix