From 2f84f76cc25bffb3c2dfa4434c895416012f87cf Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Wed, 22 May 2024 22:35:31 +0200 Subject: [PATCH] completions/bind: complete ctrl/alt modifier abbreviations --- share/completions/bind.fish | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/completions/bind.fish b/share/completions/bind.fish index bf1388026..9f62e36d8 100644 --- a/share/completions/bind.fish +++ b/share/completions/bind.fish @@ -66,7 +66,9 @@ function __fish_bind_complete set -l token (commandline -ct) if test (count $argv) = 0 && set -l prefix (string match -r -- '(.*,)?(ctrl-|alt-|shift-)*' $token) printf '%sctrl-\tCtrl modifier…\n' $prefix + printf '%sc-\tCtrl modifier…\n' $prefix printf '%salt-\tAlt modifier…\n' $prefix + printf '%sa-\tAlt modifier…\n' $prefix printf '%sshift-\tShift modifier…\n' $prefix set -l key_names minus comma backspace delete escape \ enter up down left right pageup pagedown home end insert tab \