prependpath 1 user commands nosh
prependpath add a dir to a path environment variable then chain
`prependpath` var dir next-prog

## Description

`prependpath` is a chain-loading utility that prepends the value dir to the path environment variable var, and then chain loads to next-prog with the execvp 3 function. If the environment variable is set and not empty, it inserts a colon (`:`) between the prepended dir and the old value of var.

next-prog may contain its own command line options, which `prependpath` will ignore.

## Author

Jonathan de Boyne Pollard