[44f085a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[44f085a] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8070ffce] | 7 | <!ENTITY zsh-download-http "http://prdownloads.sourceforge.net/zsh/zsh-&zsh-version;.tar.bz2">
|
---|
| 8 | <!ENTITY zsh-download-ftp " ">
|
---|
[12fc0f7] | 9 | <!ENTITY zsh-size "2.0 MB">
|
---|
[44f085a] | 10 | <!ENTITY zsh-buildsize "17 MB">
|
---|
| 11 | <!ENTITY zsh-time "0.51 SBU">
|
---|
[12fc0f7] | 12 | <!ENTITY zsh-md5sum "5c37fa9eb659458fe4f7f80da17fb09c">
|
---|
[44f085a] | 13 | ]>
|
---|
| 14 |
|
---|
[12fc0f7] | 15 |
|
---|
[0b5a693] | 16 | <sect1 id="zsh" xreflabel="ZSH-&zsh-version;">
|
---|
[a6a160b] | 17 | <?dbhtml filename="zsh.html"?>
|
---|
[f45b1953] | 18 |
|
---|
[a6a160b] | 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>ZSH-&zsh-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="zsh">
|
---|
| 27 | <primary sortas="a-ZSH">ZSH</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to ZSH</title>
|
---|
| 32 |
|
---|
| 33 | <para>The <application>ZSH</application> package contains a command
|
---|
| 34 | interpreter (shell) usable as an interactive login shell and as
|
---|
| 35 | a shell script command processor. Of the standard shells,
|
---|
| 36 | <application>ZSH</application> most closely resembles
|
---|
| 37 | <application>KSH</application> but includes many enhancements.</para>
|
---|
| 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&zsh-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&zsh-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &zsh-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &zsh-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &zsh-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &zsh-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect3">ZSH Dependencies</bridgehead>
|
---|
| 62 |
|
---|
| 63 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 64 | <para><xref linkend="pcre"/></para>
|
---|
| 65 |
|
---|
| 66 | </sect2>
|
---|
| 67 |
|
---|
| 68 | <sect2 role="installation">
|
---|
| 69 | <title>Installation of ZSH</title>
|
---|
| 70 |
|
---|
| 71 | <para>Install <application>ZSH</application> by running the following
|
---|
| 72 | commands:</para>
|
---|
| 73 |
|
---|
| 74 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 75 | make</userinput></screen>
|
---|
| 76 |
|
---|
| 77 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 78 |
|
---|
| 79 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 80 |
|
---|
| 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | <sect2 role="configuration">
|
---|
| 84 | <title>Configuring ZSH</title>
|
---|
| 85 |
|
---|
| 86 | <sect3 id="zsh-config">
|
---|
| 87 | <title>Config Files</title>
|
---|
| 88 |
|
---|
| 89 | <para>There are a whole host of configuration files for
|
---|
| 90 | <application>ZSH</application> including <filename>/etc/zshenv</filename>,
|
---|
| 91 | <filename>/etc/zprofile</filename>, <filename>/etc/zshrc</filename>,
|
---|
| 92 | <filename>/etc/zlogin</filename>, and <filename>/etc/zlogout</filename>.
|
---|
| 93 | You can find more information on these in the <filename>zsh(1)</filename>
|
---|
| 94 | and related man pages.</para>
|
---|
| 95 |
|
---|
| 96 | <indexterm zone="zsh zsh-config">
|
---|
| 97 | <primary sortas="e-etc-zshenv">/etc/zshenv</primary>
|
---|
| 98 | </indexterm>
|
---|
| 99 |
|
---|
| 100 | <indexterm zone="zsh zsh-config">
|
---|
| 101 | <primary sortas="e-etc-zprofile">/etc/zprofile</primary>
|
---|
| 102 | </indexterm>
|
---|
| 103 |
|
---|
| 104 | <indexterm zone="zsh zsh-config">
|
---|
| 105 | <primary sortas="e-etc-zshrc">/etc/zshrc</primary>
|
---|
| 106 | </indexterm>
|
---|
| 107 |
|
---|
| 108 | <indexterm zone="zsh zsh-config">
|
---|
| 109 | <primary sortas="e-etc-zlogin">/etc/zlogin</primary>
|
---|
| 110 | </indexterm>
|
---|
| 111 |
|
---|
| 112 | <indexterm zone="zsh zsh-config">
|
---|
| 113 | <primary sortas="e-etc-zlogout">/etc/zlogout</primary>
|
---|
| 114 | </indexterm>
|
---|
| 115 |
|
---|
| 116 | </sect3>
|
---|
| 117 |
|
---|
| 118 | </sect2>
|
---|
| 119 |
|
---|
| 120 | <sect2 role="content">
|
---|
| 121 | <title>Contents</title>
|
---|
| 122 |
|
---|
| 123 | <segmentedlist>
|
---|
| 124 | <segtitle>Installed Program</segtitle>
|
---|
| 125 | <segtitle>Installed Libraries</segtitle>
|
---|
| 126 | <segtitle>Installed Directories</segtitle>
|
---|
| 127 |
|
---|
| 128 | <seglistitem>
|
---|
| 129 | <seg>zsh</seg>
|
---|
| 130 | <seg>None</seg>
|
---|
| 131 | <seg>/usr/lib/zsh, /user/share/zsh</seg>
|
---|
| 132 | </seglistitem>
|
---|
| 133 | </segmentedlist>
|
---|
| 134 |
|
---|
| 135 | <variablelist>
|
---|
| 136 | <bridgehead renderas="sect3">Short Description</bridgehead>
|
---|
| 137 | <?dbfo list-presentation="list"?>
|
---|
| 138 | <?dbhtml list-presentation="table"?>
|
---|
| 139 |
|
---|
| 140 | <varlistentry id="zsh-prog">
|
---|
| 141 | <term><command>zsh</command></term>
|
---|
| 142 | <listitem>
|
---|
| 143 | <para>is a shell which has command-line editing, built-in spelling
|
---|
| 144 | correction, programmable command completion, shell functions (with
|
---|
| 145 | autoloading), a history mechanism, and a host of other features.</para>
|
---|
| 146 | <indexterm zone="zsh zsh-prog">
|
---|
| 147 | <primary sortas="b-zsh">zsh</primary>
|
---|
| 148 | </indexterm>
|
---|
| 149 | </listitem>
|
---|
| 150 | </varlistentry>
|
---|
[1aa3a3ca] | 151 |
|
---|
[a6a160b] | 152 | </variablelist>
|
---|
| 153 |
|
---|
| 154 | </sect2>
|
---|
| 155 |
|
---|
| 156 | </sect1>
|
---|