<htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html; charset=UTF-8"/><title>cdist-env(1)</title><linkrel="stylesheet"type="text/css"href="docbook-xsl.css"/><metaname="generator"content="DocBook XSL Stylesheets V1.76.1"/></head><body><divxml:lang="en"class="article"title="cdist-env(1)"lang="en"><divclass="titlepage"><div><div><h2class="title"><aid="id278004"></a>cdist-env(1)</h2></div><div><divclass="author"><h3class="author"><spanclass="firstname">Nico</span><spanclass="surname">Schottelius</span></h3><codeclass="email"><<aclass="email"href="mailto:nico-cdist--@--schottelius.org">nico-cdist--@--schottelius.org</a>></code></div></div></div><hr/></div><divclass="toc"><p><strong>Table of Contents</strong></p><dl><dt><spanclass="section"><ahref="#_name">1. NAME</a></span></dt><dt><spanclass="section"><ahref="#_synopsis">2. SYNOPSIS</a></span></dt><dt><spanclass="section"><ahref="#_description">3. DESCRIPTION</a></span></dt><dt><spanclass="section"><ahref="#_examples">4. EXAMPLES</a></span></dt><dt><spanclass="section"><ahref="#_see_also">5. SEE ALSO</a></span></dt><dt><spanclass="section"><ahref="#_copying">6. COPYING</a></span></dt></dl></div><divclass="section"title="1.NAME"><divclass="titlepage"><div><div><h2class="title"style="clear: both"><aid="_name"></a>1.NAME</h2></div></div></div><p>cdist-env - Setup environment for using cdist</p></div><divclass="section"title="2.SYNOPSIS"><divclass="titlepage"><div><div><h2class="title"style="clear: both"><aid="_synopsis"></a>2.SYNOPSIS</h2></div></div></div><p>cdist-env</p></div><divclass="section"title="3.DESCRIPTION"><divclass="titlepage"><div><div><h2class="title"style="clear: both"><aid="_description"></a>3.DESCRIPTION</h2></div></div></div><p>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.</p><p>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.</p></div><divclass="section"title="4.EXAMPLES"><divclass="titlepage"><div><div><h2class="title"style="clear: both"><aid="_examples"></a>4.EXAMPLES</h2></div></div></div><p>For use in bourne shell variants (like dash, bash, ksh) as well as
in csh variants (csh, tcsh):</p><preclass="screen">eval `./bin/cdist-env`</pre><p>For bourne shell, there is also a shorter version:</p><preclass="screen">. ./bin/cdist-env</pre></div><divclass="section"title="5.SEE ALSO"><divclass="titlepage"><div><div><h2class="title"style="clear: both"><aid="_see_also"></a>5.SEE ALSO</h2></div></div></div><p>cdist(7)</p></div><divclass="section"title="6.COPYING"><divclass="titlepage"><div><div><h2class="title"style="clear: both"><aid="_copying"></a>6.COPYING</h2></div></div></div><p>Copyright (C) 2011 Nico Schottelius. Free use of this software is
granted under the terms of the GNU General Public License version 3 (GPLv3).</p></div></div></body></html>