⚠️ DEPRECATED. Use fzshell instead.
Simple, seamless fzf-based completions for a few applications
Project is actively evolving so expect breaking changes and bugs!
If you have a suggestion regarding expanding functionality i.e., adding more completions, supported applications etc. then create an issue! Feedback is appreciated.
- docker
- kubectl
- jira
Preferably use package manager like zgen and add to your .zshrc:
zgen load mnowotnik/extra-fzf-completions
Or simply clone and source:
source /path/to/extra-fzf-completions/extra-fzf-completions.plugin.zsh
Clone and:
source /path/to/extra-fzf-completions/extra-fzf-completions.plugin.bash
Supported commands are of type:
<command> <action(s)> **<TAB>
The fzf-powered fuzzy completion should appear after pressing TAB.
First, enable completion in your zshrc or bashrc file:
export EXTRA_FZF_COMPLETIONS=(docker kubectl jira)
Docker completion supports a couple of actions:
run
<- docker image completionexec
<- container completionrm
<- image completionstop
<- container completion
Currently only completes pod names. Detects namespace if defined or uses the default one.
kubectl logs -n my_ns **<TAB>
Provides a list of issues using the default user configuration.
jira <action> **<TAB>
Some settings are controled through environment variables:
EXTRA_FZF_COMPLETIONS_FZF_PREFIX
- overrides default fzf prefix used in completions.EXTRA_FZF_COMPLETIONS_TIMEOUT
- the completion timeout in seconds (default 7).