summaryrefslogtreecommitdiff
path: root/src/reader_test.go
diff options
context:
space:
mode:
authorChristoph Anton Mitterer <mail@christoph.anton.mitterer.name>2023-09-26 22:42:55 +0200
committerJunegunn Choi <junegunn.c@gmail.com>2023-10-12 20:44:25 +0900
commitd718747c5b115838af7ceaf0d4a7f1c84ed7d98b (patch)
treefb4717c1cda1f3315a3e935c1f11751a840ab08d /src/reader_test.go
parent46ee9ac41c53bf6c37637f992691dbadef4ebfbc (diff)
downloadfzf-d718747c5b115838af7ceaf0d4a7f1c84ed7d98b.tar.gz
[bash] try to use bash-completions’s _known_hosts_real() for getting hostnames
If defined, use bash-completions’s `_known_hosts_real()`-function to create the list of hostnames. This obviously requires bash-completion to be sourced before fzf. If not defined, fall back to the previous code. Signed-off-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name>
Diffstat (limited to 'src/reader_test.go')
0 files changed, 0 insertions, 0 deletions