Put the script on your path, eg.:
mkdir -p ~/bin
cd ~/bin
wget https://raw.githubusercontent.com/reegnz/asdfzf/master/asdfzf
chmod +x asdfzf
The asdfzf command hides asdf commands behind an fzf interactive selection interface.
There are no arguments. Just run asdfzf
and that's it!
You can influence versions that display during install.
Precedence of environment variables is:
- ASDFZF_VERSION_FILTER_COMMAND_pluginname
- ASDFZF_VERSION_KEEP_pluginname
- ASDFZF_VERSION_FILTER_COMMAND
- ASDFZF_VERSION_KEEP
ASDFZF_VERSION_KEEP=semver-no-prerelease
will keep versions that are
not semver prerelease versions.
ASDFZF_VERSION_KEEP_kubectl=semver-only-prerelease
will only show semver
prerelease versions
Same as ASDFZF_VERSION_KEEP
but limited to a given plugin only.
Allows for providing a custom shell command to filter the version strings.
Same as ASDFZF_VERSION_FILTER_COMMAND
but limited to a given plugin only.