diff options
Diffstat (limited to 'test/shell/prompt-shell-script-completion')
| -rw-r--r-- | test/shell/prompt-shell-script-completion/cmd | 2 | ||||
| -rw-r--r-- | test/shell/prompt-shell-script-completion/rc | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/shell/prompt-shell-script-completion/cmd b/test/shell/prompt-shell-script-completion/cmd index 7cc38390..8b137891 100644 --- a/test/shell/prompt-shell-script-completion/cmd +++ b/test/shell/prompt-shell-script-completion/cmd @@ -1 +1 @@ -:foo<ret>b<tab><tab><ret> + diff --git a/test/shell/prompt-shell-script-completion/rc b/test/shell/prompt-shell-script-completion/rc index 3fd111ba..f7175986 100644 --- a/test/shell/prompt-shell-script-completion/rc +++ b/test/shell/prompt-shell-script-completion/rc @@ -1,3 +1,4 @@ +set-option global autocomplete prompt define-command foo %{ - prompt -shell-script-completion %{ printf 'foo\nbar\nhaz\n' } ': ' %{exec i %val{text} <esc>} + prompt -shell-script-completion %{ printf 'foo\nbar\nbaz\n' } ': ' %{exec i %val{text} <esc>} } |
