Manasdf
Display man page for installed versions of asdf plugins. (Assuming it provides a man page) If no matching asdf command is found the entire command line is handed to the system man, so man-asdf can be soft-linked as man and be put before sys bins in the path, and handle all man calls!
Requirements
- asdf asdf GitHub page
- At least one plugin and version of that installed - otherwise there is
nothing to show man pages for...
Installation
Either softlink man-asdf to a PATH location, or if you want more control over what is in your path do as follows
1. Preparation
Once you have entered the repository dir, designate destination by doing
echo "/usr/local/bin" > .destinationReplace destination path with your preference if you do not want to use /usr/local/bin
2. Deploy
Any time the repository is updated, and you want to use this new version, all you need to do is this:
Since nothing will happen if there was no update, it is safe to always perform this step, in case you automate handling of this repository.
./deployFirst time you might need to do
sudo ./deploy