home/test/shell/prompt-shell-script-completion/rc

4 lines
122 B
Plaintext
Raw Normal View History

define-command foo %{
prompt -shell-script-completion %{ printf 'foo\nbar\nhaz\n' } ': ' %{exec i %val{text} <esc>}
}