[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 " ">
|
---|
[5ef8b741] | 9 | <!ENTITY zsh-md5sum "e2060f743dcdf3b383e80e862a6548fe">
|
---|
[12fc0f7] | 10 | <!ENTITY zsh-size "2.0 MB">
|
---|
[5ef8b741] | 11 | <!ENTITY zsh-buildsize "24 MB">
|
---|
| 12 | <!ENTITY zsh-time "0.5 SBU">
|
---|
[44f085a] | 13 | ]>
|
---|
| 14 |
|
---|
[0b5a693] | 15 | <sect1 id="zsh" xreflabel="ZSH-&zsh-version;">
|
---|
[a6a160b] | 16 | <?dbhtml filename="zsh.html"?>
|
---|
[f45b1953] | 17 |
|
---|
[a6a160b] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[e19ad480] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">zsh-&zsh-version;.tar</keyword>
|
---|
[9084c2eb] | 23 | <keyword role="ftpdir">zsh</keyword>
|
---|
[e19ad480] | 24 | </keywordset>
|
---|
[a6a160b] | 25 | </sect1info>
|
---|
| 26 |
|
---|
| 27 | <title>ZSH-&zsh-version;</title>
|
---|
| 28 |
|
---|
| 29 | <indexterm zone="zsh">
|
---|
| 30 | <primary sortas="a-ZSH">ZSH</primary>
|
---|
| 31 | </indexterm>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to ZSH</title>
|
---|
| 35 |
|
---|
| 36 | <para>The <application>ZSH</application> package contains a command
|
---|
| 37 | interpreter (shell) usable as an interactive login shell and as
|
---|
| 38 | a shell script command processor. Of the standard shells,
|
---|
| 39 | <application>ZSH</application> most closely resembles
|
---|
| 40 | <application>KSH</application> but includes many enhancements.</para>
|
---|
| 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (HTTP): <ulink url="&zsh-download-http;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download (FTP): <ulink url="&zsh-download-ftp;"/></para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download MD5 sum: &zsh-md5sum;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Download size: &zsh-size;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated disk space required: &zsh-buildsize;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>Estimated build time: &zsh-time;</para>
|
---|
| 61 | </listitem>
|
---|
| 62 | </itemizedlist>
|
---|
| 63 |
|
---|
| 64 | <bridgehead renderas="sect3">ZSH Dependencies</bridgehead>
|
---|
| 65 |
|
---|
| 66 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[e19ad480] | 67 | <para role="optional"><xref linkend="pcre"/></para>
|
---|
[a6a160b] | 68 |
|
---|
[3597eb6] | 69 | <para condition="html" role="usernotes">User Notes:
|
---|
| 70 | <ulink url="&blfs-wiki;/zsh"/></para>
|
---|
| 71 |
|
---|
[a6a160b] | 72 | </sect2>
|
---|
| 73 |
|
---|
| 74 | <sect2 role="installation">
|
---|
| 75 | <title>Installation of ZSH</title>
|
---|
| 76 |
|
---|
| 77 | <para>Install <application>ZSH</application> by running the following
|
---|
| 78 | commands:</para>
|
---|
| 79 |
|
---|
| 80 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 81 | make</userinput></screen>
|
---|
| 82 |
|
---|
[5ef8b741] | 83 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 84 |
|
---|
[a6a160b] | 85 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 86 |
|
---|
[5ef8b741] | 87 | <screen role="root"><userinput>make install &&
|
---|
| 88 | make install.info</userinput></screen>
|
---|
[a6a160b] | 89 |
|
---|
| 90 | </sect2>
|
---|
| 91 |
|
---|
| 92 | <sect2 role="configuration">
|
---|
| 93 | <title>Configuring ZSH</title>
|
---|
| 94 |
|
---|
| 95 | <sect3 id="zsh-config">
|
---|
| 96 | <title>Config Files</title>
|
---|
| 97 |
|
---|
| 98 | <para>There are a whole host of configuration files for
|
---|
| 99 | <application>ZSH</application> including <filename>/etc/zshenv</filename>,
|
---|
| 100 | <filename>/etc/zprofile</filename>, <filename>/etc/zshrc</filename>,
|
---|
| 101 | <filename>/etc/zlogin</filename>, and <filename>/etc/zlogout</filename>.
|
---|
| 102 | You can find more information on these in the <filename>zsh(1)</filename>
|
---|
| 103 | and related man pages.</para>
|
---|
| 104 |
|
---|
| 105 | <indexterm zone="zsh zsh-config">
|
---|
| 106 | <primary sortas="e-etc-zshenv">/etc/zshenv</primary>
|
---|
| 107 | </indexterm>
|
---|
| 108 |
|
---|
| 109 | <indexterm zone="zsh zsh-config">
|
---|
| 110 | <primary sortas="e-etc-zprofile">/etc/zprofile</primary>
|
---|
| 111 | </indexterm>
|
---|
| 112 |
|
---|
| 113 | <indexterm zone="zsh zsh-config">
|
---|
| 114 | <primary sortas="e-etc-zshrc">/etc/zshrc</primary>
|
---|
| 115 | </indexterm>
|
---|
| 116 |
|
---|
| 117 | <indexterm zone="zsh zsh-config">
|
---|
| 118 | <primary sortas="e-etc-zlogin">/etc/zlogin</primary>
|
---|
| 119 | </indexterm>
|
---|
| 120 |
|
---|
| 121 | <indexterm zone="zsh zsh-config">
|
---|
| 122 | <primary sortas="e-etc-zlogout">/etc/zlogout</primary>
|
---|
| 123 | </indexterm>
|
---|
| 124 |
|
---|
| 125 | </sect3>
|
---|
| 126 |
|
---|
[5ef8b741] | 127 | <sect3>
|
---|
| 128 | <title>Configuration Information</title>
|
---|
| 129 |
|
---|
| 130 | <para>Update <filename>/etc/shells</filename> to include the
|
---|
| 131 | <application>ZSH</application> shell program names (as the
|
---|
| 132 | <systemitem class="username">root</systemitem> user):</para>
|
---|
| 133 |
|
---|
| 134 | <screen role="root"><userinput>cat >> /etc/shells << "EOF"
|
---|
| 135 | <literal>/usr/bin/zsh
|
---|
| 136 | /usr/bin/zsh-4.2.5</literal>
|
---|
| 137 | EOF</userinput></screen>
|
---|
| 138 |
|
---|
| 139 | </sect3>
|
---|
| 140 |
|
---|
[a6a160b] | 141 | </sect2>
|
---|
| 142 |
|
---|
| 143 | <sect2 role="content">
|
---|
| 144 | <title>Contents</title>
|
---|
| 145 |
|
---|
| 146 | <segmentedlist>
|
---|
[5ef8b741] | 147 | <segtitle>Installed Programs</segtitle>
|
---|
[a6a160b] | 148 | <segtitle>Installed Libraries</segtitle>
|
---|
| 149 | <segtitle>Installed Directories</segtitle>
|
---|
| 150 |
|
---|
| 151 | <seglistitem>
|
---|
[5ef8b741] | 152 | <seg>zsh and zsh-4.2.5</seg>
|
---|
[a6a160b] | 153 | <seg>None</seg>
|
---|
[5ef8b741] | 154 | <seg>/usr/lib/zsh and /usr/share/zsh</seg>
|
---|
[a6a160b] | 155 | </seglistitem>
|
---|
| 156 | </segmentedlist>
|
---|
| 157 |
|
---|
| 158 | <variablelist>
|
---|
| 159 | <bridgehead renderas="sect3">Short Description</bridgehead>
|
---|
| 160 | <?dbfo list-presentation="list"?>
|
---|
| 161 | <?dbhtml list-presentation="table"?>
|
---|
| 162 |
|
---|
| 163 | <varlistentry id="zsh-prog">
|
---|
| 164 | <term><command>zsh</command></term>
|
---|
| 165 | <listitem>
|
---|
| 166 | <para>is a shell which has command-line editing, built-in spelling
|
---|
| 167 | correction, programmable command completion, shell functions (with
|
---|
| 168 | autoloading), a history mechanism, and a host of other features.</para>
|
---|
| 169 | <indexterm zone="zsh zsh-prog">
|
---|
| 170 | <primary sortas="b-zsh">zsh</primary>
|
---|
| 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
[1aa3a3ca] | 174 |
|
---|
[a6a160b] | 175 | </variablelist>
|
---|
| 176 |
|
---|
| 177 | </sect2>
|
---|
| 178 |
|
---|
| 179 | </sect1>
|
---|