mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-05 08:31:03 +01:00
deploy: 36ad7d25fb
This commit is contained in:
parent
dc5f94e1d7
commit
c52b166250
1 changed files with 33 additions and 0 deletions
|
|
@ -79805,6 +79805,39 @@ attribute set of string</p>
|
||||||
|
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
|
<p><span class="emphasis"><em>Declared by:</em></span></p>
|
||||||
|
<table border="0" summary="Simple list" class="simplelist">
|
||||||
|
<tr><td>
|
||||||
|
<code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/zsh" target="_top">
|
||||||
|
<home-manager/modules/programs/zsh>
|
||||||
|
</a></code>
|
||||||
|
</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
<dt>
|
||||||
|
<span class="term">
|
||||||
|
<a id="opt-programs.zsh.siteFunctions"></a><a class="term" href="options.xhtml#opt-programs.zsh.siteFunctions"><code class="option">programs.zsh.siteFunctions</code>
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<p>Functions that are added to the Zsh environment and are subject to
|
||||||
|
<span class="command"><strong>autoload</strong></span>ing. The key is the name and the value is the body of
|
||||||
|
the function to be autoloaded.</p><p>They are also already marked for autoloading through <code class="literal">autoload -Uz</code>.</p>
|
||||||
|
|
||||||
|
<p><span class="emphasis"><em>Type:</em></span>
|
||||||
|
attribute set of strings concatenated with “\n”</p>
|
||||||
|
|
||||||
|
<p><span class="emphasis"><em>Default:</em></span>
|
||||||
|
<code class="literal">{ }</code></p>
|
||||||
|
|
||||||
|
<p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting">{
|
||||||
|
mkcd = ''
|
||||||
|
mkdir --parents "$1" && cd "$1"
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
<p><span class="emphasis"><em>Declared by:</em></span></p>
|
<p><span class="emphasis"><em>Declared by:</em></span></p>
|
||||||
<table border="0" summary="Simple list" class="simplelist">
|
<table border="0" summary="Simple list" class="simplelist">
|
||||||
<tr><td>
|
<tr><td>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue