Table of Contents
cdist-env outputs two strings suitable for usage in your current shell, so you can use cdist from the checkout. cdist-env essentially helps you to easily setup PATH and MANPATH.
If you’ve multiple checkouts of cdist and run cdist-env from the various checkouts, a new run will prepend the last directory, thus ensures you can run it multiple times and does what one expects.
For use in bourne shell variants (like dash, bash, ksh) as well as in csh variants (csh, tcsh):
eval `./bin/cdist-env`
For bourne shell, there is also a shorter version:
. ./bin/cdist-env