Skip to content

Instantly share code, notes, and snippets.

@abathur

abathur/oh man Secret

Created October 8, 2020 01:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abathur/e1f0afecaa045309e3c90cc6736ac63a to your computer and use it in GitHub Desktop.
Save abathur/e1f0afecaa045309e3c90cc6736ac63a to your computer and use it in GitHub Desktop.
resholve manpage NAME, SYNOPSIS, DESCRIPTION
NAME
resholve — resolve external command/script references in shell scripts
SYNOPSIS
resholve [options] script ...
resholve [options] < script
DESCRIPTION
At a low level, resholve replaces bare references (those subject to a
PATH search at runtime) to external commands and scripts with absolute
paths.
When you zoom out, this small super‐power helps ensure script dependen‐
cies are known, declared, present, and don’t unexpectely shift when the
PATH changes.
While resholve is developed to enable the Nix package manager to package
and integrate Shell projects, its features are not Nix‐specific and
inevitably have other applications.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment