m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 00:03:39 -05:00

[shell] 'kill' completion will now require trigger sequence (**)

'kill **<tab>' instead of 'kill <tab>' just like any other completions.

Close #2716
Close #385
This commit is contained in:
Junegunn Choi
2022-07-21 22:16:19 +09:00
parent 0d06c28b19
commit 52594355bf
5 changed files with 7 additions and 22 deletions

View File

@@ -2478,7 +2478,7 @@ module CompletionTest
pid = lines[-1]&.split&.last
tmux.prepare
tmux.send_keys 'C-L'
tmux.send_keys 'kill ', :Tab
tmux.send_keys 'kill **', :Tab
tmux.until { |lines| assert_operator lines.match_count, :>, 0 }
tmux.send_keys 'sleep12345'
tmux.until { |lines| assert lines.any_include?('sleep 12345') }