Add bash completion for kill command

This commit is contained in:
Junegunn Choi
2013-11-29 17:49:48 +09:00
parent b2bb22d883
commit bd2763d863
2 changed files with 25 additions and 2 deletions

View File

@@ -270,8 +270,8 @@ over time*
### bash
Fuzzy completion can be triggered if the word before the cursor ends
with the trigger sequence which is by default `**`.
Fuzzy completion for files and directories can be triggered if the word before
the cursor ends with the trigger sequence which is by default `**`.
- `COMMAND [DIRECTORY/][FUZZY_PATTERN]**<TAB>`
@@ -299,6 +299,14 @@ cd **<TAB>
cd ~/github/fzf**<TAB>
```
Fuzzy completion for PIDs are provided for kill command. In this case
there is no trigger sequence, just press tab key after kill command.
```sh
# Can select multiple processes with <TAB> or <Shift-TAB> keys
kill -9 <TAB>
```
#### Settings
```sh