git.iko.soy/typeable/nixpkgs
on master help sign in
Convert Shell-Helpers from DocBook to CommonMark
commitbb0399be3d126809580cb1c005178249f9d999d5 authorAndersonTorres <torres.anderson.85@protonmail.com> dateWed 2 Dec 2020, 00:40 (6 years ago) parent557d0c1
3 files changed+13−22
doc/builders/packages/index.xml+1−1 doc/builders/packages/shell-helpers.section.md+12 doc/builders/packages/shell-helpers.xml−21
doc/builders/packages/index.xml+1−1
@@ -16,7 +16,7 @@
1616 <xi:include href="locales.xml" />
1717 <xi:include href="nginx.xml" />
1818 <xi:include href="opengl.section.xml" />
19− <xi:include href="shell-helpers.xml" />
19+ <xi:include href="shell-helpers.section.xml" />
2020 <xi:include href="steam.xml" />
2121 <xi:include href="cataclysm-dda.section.xml" />
2222 <xi:include href="urxvt.xml" />
doc/builders/packages/shell-helpers.section.mdnew file+12
@@ -0,0 +1,12 @@
1+# Interactive shell helpers {#sec-shell-helpers}
2+
3+Some packages provide the shell integration to be more useful. But unlike other systems, nix doesn't have a standard `share` directory location. This is why a bunch `PACKAGE-share` scripts are shipped that print the location of the corresponding shared folder. Current list of such packages is as following:
4+
5+- `fzf` : `fzf-share`
6+
7+E.g. `fzf` can then used in the `.bashrc` like this:
8+
9+```bash
10+source "$(fzf-share)/completion.bash"
11+source "$(fzf-share)/key-bindings.bash"
12+```
doc/builders/packages/shell-helpers.xmldeleted−21
@@ -1,21 +0,0 @@
1−<section xmlns="http://docbook.org/ns/docbook"
2− xmlns:xlink="http://www.w3.org/1999/xlink"
3− xml:id="sec-shell-helpers">
4− <title>Interactive shell helpers</title>
5−
6− <para>
7− Some packages provide the shell integration to be more useful. But unlike other systems, nix doesn't have a standard share directory location. This is why a bunch <command>PACKAGE-share</command> scripts are shipped that print the location of the corresponding shared folder. Current list of such packages is as following:
8− <itemizedlist>
9− <listitem>
10− <para>
11− <literal>fzf</literal>: <command>fzf-share</command>
12− </para>
13− </listitem>
14− </itemizedlist>
15− E.g. <literal>fzf</literal> can then used in the .bashrc like this:
16−<screen>
17− source "$(fzf-share)/completion.bash"
18− source "$(fzf-share)/key-bindings.bash"
19−</screen>
20− </para>
21−</section>