Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reegnz/asdfzf
asdf + fzf = asdfzf
https://github.com/reegnz/asdfzf
asdf bash cli fzf shell version-manager zsh
Last synced: about 1 month ago
JSON representation
asdf + fzf = asdfzf
- Host: GitHub
- URL: https://github.com/reegnz/asdfzf
- Owner: reegnz
- License: bsd-3-clause
- Created: 2019-10-15T14:49:40.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-03T00:02:49.000Z (almost 2 years ago)
- Last Synced: 2024-08-09T17:30:06.387Z (5 months ago)
- Topics: asdf, bash, cli, fzf, shell, version-manager, zsh
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# asdfzf
[asdf](https://github.com/asdf-vm/asdf) + [fzf](https://github.com/junegunn/fzf) = asdfzf!
## Installation
Put the script on your path, eg.:
```sh
mkdir -p ~/bin
cd ~/bin
wget https://raw.githubusercontent.com/reegnz/asdfzf/master/asdfzf
chmod +x asdfzf
```## Usage
The asdfzf command hides asdf commands behind an fzf interactive selection interface.
There are no arguments. Just run `asdfzf` and that's it!
### Custom version filters per tool
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
`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#### ASDFZF_VERSION_KEEP_pluginname
Same as `ASDFZF_VERSION_KEEP` but limited to a given plugin only.
#### ASDFZF_VERSION_FILTER_COMMAND
Allows for providing a custom shell command to filter the version strings.
#### ASDFZF_VERSION_FILTER_COMMAND_pluginname
Same as `ASDFZF_VERSION_FILTER_COMMAND` but limited to a given plugin only.