项目作者: nickolasburr

项目描述 :
Heuristics utility for man(1).
高级语言: Shell
项目地址: git://github.com/nickolasburr/human.git
创建时间: 2018-11-19T00:08:21Z
项目社区:https://github.com/nickolasburr/human

开源协议:MIT License

下载


human(1)

human is a heuristics utility for man(1).

Its primary intent is to improve manpage lookups by analyzing shell aliases and shell functions during the lookup process.

Table of Contents

Installation

  1. git clone https://github.com/nickolasburr/human.git
  2. cd human
  3. make install

The default prefix is /usr/local/opt. To install to an alternate location, pass PREFIX to make install.

  1. make install PREFIX=/opt

To install human(1) manpage:

  1. make manpage

Configuration

Since human requires access to the shell environment, it is implemented as a shell function. Likewise, it
will need to be sourced from a shell configuration file (e.g. .bashrc).

  1. [[ -f /usr/local/opt/human/src/human.sh ]] && . /usr/local/opt/human/src/human.sh

Notes

Only shell aliases are supported as of this version.

Examples

Get manpage for GNU tail(1) instead of BSD tail(1).

  1. alias tail='gtail'
  2. human tail