https://github.com/doughsay/omf-asdf
Oh My Fish plugin for asdf
https://github.com/doughsay/omf-asdf
asdf fish-shell oh-my-fish version-manager
Last synced: 6 months ago
JSON representation
Oh My Fish plugin for asdf
- Host: GitHub
- URL: https://github.com/doughsay/omf-asdf
- Owner: doughsay
- License: mit
- Created: 2017-03-23T03:03:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T19:28:18.000Z (almost 3 years ago)
- Last Synced: 2025-03-23T20:36:36.802Z (7 months ago)
- Topics: asdf, fish-shell, oh-my-fish, version-manager
- Language: Shell
- Size: 11.7 KB
- Stars: 9
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#### asdf
> A plugin for [Oh My Fish][omf-link].[](/LICENSE)
[](https://fishshell.com)
[](https://www.github.com/oh-my-fish/oh-my-fish)
This plugin installs [asdf](https://github.com/asdf-vm/asdf) and initializes it using an oh-my-fish plugin. It also provides a few helper functions.
## Install
```fish
$ omf install asdf
```## Usage
```fish
$ asdf # see asdf documentation
```Helper function for listing all installed asdf plugins with all their respective installed versions:
```fish
$ asdf-list-all
```Helper functions for listing all active tools and their versions. This reads from `.tool-versions` files recursively up the directory tree starting from `pwd`. It also ignores global versions defined in `~/.tool-versions`.
```fish
$ asdf-tools
```# TODO
In the future I plan to have this plugin provide fish functions for determining tool versions through asdf, so theme designers can optionally include tool versions in prompts.
# License
[MIT][mit] © [Chris Dosé][author] et [al][contributors]
[mit]: https://opensource.org/licenses/MIT
[author]: https://github.com/{{USER}}
[contributors]: https://github.com/{{USER}}/plugin-asdf/graphs/contributors
[omf-link]: https://www.github.com/oh-my-fish/oh-my-fish[license-badge]: https://img.shields.io/badge/license-MIT-007EC7.svg?style=flat-square