← 全部工具

jaclu/man_asdf

热度 65 更新于 开发与构建

Display man page for installed versions of an asdf plugin

githubauto-collected

安装

暂未验证可直接使用的安装命令,请查看项目官方文档或 Release。

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" > .destination

Replace 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.

./deploy

First time you might need to do

sudo ./deploy