new configs

This commit is contained in:
Never Gude 2026-07-11 01:35:28 +02:00
parent f3ab049a81
commit 4c81c0ca4a
10 changed files with 107 additions and 14 deletions

View file

@ -1,5 +1,5 @@
function menu --description 'Opens a menu of a list of Strings and writes the result to stdout'
argparse h/help p/prompt=? index -- $argv
argparse h/help p/prompt=? mesg=? placeholder=? index -- $argv
or return
if set -ql _flag_help
@ -17,6 +17,10 @@ function menu --description 'Opens a menu of a list of Strings and writes the re
set -a fuzzel_args "--placeholder=$_flag_placeholder"
end
if set -ql _flag_mesg
set -a fuzzel_args "--mesg=$_flag_mesg"
end
if set -ql _flag_index
set -a fuzzel_args "--index"
end