mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 17:31:14 -03:00
completions/bind: complete super modifier
This commit is contained in:
@@ -65,11 +65,10 @@ function __fish_bind_complete
|
||||
or return 1
|
||||
set -l token (commandline -ct)
|
||||
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
|
||||
printf '%sa-\tAlt modifier…\n' $prefix
|
||||
printf '%sctrl-\tCtrl modifier…\n' $prefix
|
||||
printf '%sshift-\tShift modifier…\n' $prefix
|
||||
printf '%ssuper-\tSuper modifier…\n' $prefix
|
||||
printf '%s\tNamed key\n' $prefix(bind --key-names)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user