mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-01 04:32:05 -07:00
Hostname completion for ssh and telnet commands
This commit is contained in:
16
README.md
16
README.md
@@ -270,6 +270,8 @@ over time*
|
||||
|
||||
### bash
|
||||
|
||||
#### Files and directories
|
||||
|
||||
Fuzzy completion for files and directories can be triggered if the word before
|
||||
the cursor ends with the trigger sequence which is by default `**`.
|
||||
|
||||
@@ -297,7 +299,9 @@ cd **<TAB>
|
||||
cd ~/github/fzf**<TAB>
|
||||
```
|
||||
|
||||
Fuzzy completion for PIDs are provided for kill command. In this case
|
||||
#### Process IDs
|
||||
|
||||
Fuzzy completion for PIDs is provided for kill command. In this case
|
||||
there is no trigger sequence, just press tab key after kill command.
|
||||
|
||||
```sh
|
||||
@@ -305,6 +309,16 @@ there is no trigger sequence, just press tab key after kill command.
|
||||
kill -9 <TAB>
|
||||
```
|
||||
|
||||
#### Host names
|
||||
|
||||
For ssh and telnet command, fuzzy completion for host names is provided. The
|
||||
names are extracted from /etc/hosts file.
|
||||
|
||||
```sh
|
||||
ssh <TAB>
|
||||
telnet <TAB>
|
||||
```
|
||||
|
||||
#### Settings
|
||||
|
||||
```sh
|
||||
|
Reference in New Issue
Block a user