path-rabbit-hole
Find any executable on $PATH and view its symlink chain
Last updated 2 years ago by rasphilco .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install path-rabbit-hole 
SYNC missed versions from official npm registry.

Rabbit-hole

Find any executable on $PATH and view its symlink chain

Version CircleCI Appveyor CI Codecov Greenkeeper Known Vulnerabilities Downloads/week License

Installation

npm install -g path-rabbit-hole

Usage

Executables higher-up in the tree take precedence on $PATH.

Show the $PATH tree

$ rh
├─ /usr/local/bin
├─ /usr/bin
├─ /bin
├─ /usr/sbin
└─ /sbin

Find an executable on $PATH

$ rh brew
├─ /usr/local/bin
│  └─ brew
│     └─ /usr/local/Homebrew/bin/brew
├─ /usr/bin
├─ /bin
├─ /usr/sbin
└─ /sbin

Provide a path to search through

$ rh jest --path='./node_modules/.bin'
└─ /path/to/node_modules/.bin
   └─ jest
      └─ /path/to/node_modules/jest-cli/bin/jest.js

Find all executables & symlinks on $PATH

$ rh --find-all # or -a

Find all executables but hide symlinks

$ rh -a --hide-symlinks # or -h

Current Tags

  • 3.0.0                                ...           latest (2 years ago)

2 Versions

  • 3.0.0                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dev Dependencies (11)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |