[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;">
|
---|
[a0f03b0] | 17 | <sect1info>
|
---|
[5cd0959d] | 18 | <othername>$LastChangedBy$</othername>
|
---|
| 19 | <date>$Date$</date>
|
---|
[a0f03b0] | 20 | </sect1info>
|
---|
[bae6e15] | 21 | <?dbhtml filename="zsh.html"?>
|
---|
[79f87f94] | 22 | <title>ZSH-&zsh-version;</title>
|
---|
[0b5a693] | 23 | <indexterm zone="zsh">
|
---|
[6a2bce2] | 24 | <primary sortas="a-ZSH">ZSH</primary></indexterm>
|
---|
[f45b1953] | 25 |
|
---|
[44f085a] | 26 | <sect2>
|
---|
| 27 | <title>Introduction to <application>ZSH</application></title>
|
---|
| 28 |
|
---|
| 29 | <para>The <application>ZSH</application> package contains a command
|
---|
| 30 | interpreter (shell) usable as an interactive login shell and as
|
---|
| 31 | a shell script command processor. Of the standard shells,
|
---|
| 32 | <application>ZSH</application> most
|
---|
[2ba7d12] | 33 | closely resembles <application>KSH</application> but includes many
|
---|
| 34 | enhancements.</para>
|
---|
[44f085a] | 35 |
|
---|
| 36 | <sect3><title>Package information</title>
|
---|
| 37 | <itemizedlist spacing='compact'>
|
---|
| 38 | <listitem><para>Download (HTTP): <ulink
|
---|
| 39 | url="&zsh-download-http;"/></para></listitem>
|
---|
| 40 | <listitem><para>Download (FTP): <ulink
|
---|
| 41 | url="&zsh-download-ftp;"/></para></listitem>
|
---|
[2ba7d12] | 42 | <listitem><para>Download MD5 sum: &zsh-md5sum;</para></listitem>
|
---|
[44f085a] | 43 | <listitem><para>Download size: &zsh-size;</para></listitem>
|
---|
[518538f] | 44 | <listitem><para>Estimated disk space required:
|
---|
[44f085a] | 45 | &zsh-buildsize;</para></listitem>
|
---|
| 46 | <listitem><para>Estimated build time:
|
---|
| 47 | &zsh-time;</para></listitem></itemizedlist>
|
---|
| 48 | </sect3>
|
---|
| 49 |
|
---|
| 50 | <sect3><title><application>ZSH</application> dependencies</title>
|
---|
| 51 | <sect4><title>Optional</title>
|
---|
| 52 | <para><xref linkend="pcre"/></para></sect4>
|
---|
| 53 | </sect3>
|
---|
| 54 |
|
---|
| 55 | </sect2>
|
---|
| 56 |
|
---|
| 57 | <sect2>
|
---|
| 58 | <title>Installation of <application>ZSH</application></title>
|
---|
| 59 |
|
---|
[2ba7d12] | 60 | <para>Install <application>ZSH</application> by running the following
|
---|
| 61 | commands:</para>
|
---|
[44f085a] | 62 |
|
---|
| 63 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
[d8614521] | 64 | make</command></userinput></screen>
|
---|
| 65 |
|
---|
| 66 | <para>Now, as the root user:</para>
|
---|
| 67 |
|
---|
| 68 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
[44f085a] | 69 |
|
---|
| 70 | </sect2>
|
---|
| 71 |
|
---|
| 72 | <sect2>
|
---|
| 73 | <title>Configuring <application>ZSH</application></title>
|
---|
| 74 |
|
---|
[40851cf] | 75 | <sect3 id="zsh-config"><title>Config files</title>
|
---|
[44f085a] | 76 | <para>There are a whole host of configuration files for
|
---|
| 77 | <application>ZSH</application> including
|
---|
[40851cf] | 78 | <filename>/etc/zshenv</filename>,
|
---|
| 79 | <filename>/etc/zprofile</filename>,
|
---|
| 80 | <filename>/etc/zshrc</filename>,
|
---|
| 81 | <filename>/etc/zlogin</filename> and
|
---|
| 82 | <filename>/etc/zlogout</filename>. You can find more information on these in
|
---|
| 83 | the <filename>zsh(1)</filename> and related man pages.</para>
|
---|
| 84 |
|
---|
[0b5a693] | 85 | <indexterm zone="zsh zsh-config">
|
---|
[0cd6d67] | 86 | <primary sortas="e-etc-zshenv">/etc/zshenv</primary></indexterm>
|
---|
[0b5a693] | 87 | <indexterm zone="zsh zsh-config">
|
---|
[0cd6d67] | 88 | <primary sortas="e-etc-zprofile">/etc/zprofile</primary></indexterm>
|
---|
[0b5a693] | 89 | <indexterm zone="zsh zsh-config">
|
---|
[0cd6d67] | 90 | <primary sortas="e-etc-zshrc">/etc/zshrc</primary></indexterm>
|
---|
[0b5a693] | 91 | <indexterm zone="zsh zsh-config">
|
---|
[0cd6d67] | 92 | <primary sortas="e-etc-zlogin">/etc/zlogin</primary></indexterm>
|
---|
[0b5a693] | 93 | <indexterm zone="zsh zsh-config">
|
---|
[0cd6d67] | 94 | <primary sortas="e-etc-zlogout">/etc/zlogout</primary></indexterm>
|
---|
[44f085a] | 95 | </sect3>
|
---|
| 96 |
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | <sect2>
|
---|
| 100 | <title>Contents</title>
|
---|
| 101 |
|
---|
[2ba7d12] | 102 | <segmentedlist>
|
---|
| 103 | <segtitle>Installed Program</segtitle>
|
---|
[d8614521] | 104 | <segtitle>Installed Libraries</segtitle>
|
---|
| 105 | <segtitle>Installed Directories</segtitle>
|
---|
[2ba7d12] | 106 | <seglistitem>
|
---|
| 107 | <seg>zsh</seg>
|
---|
[d8614521] | 108 | <seg>None</seg>
|
---|
[12fc0f7] | 109 | <seg>/usr/lib/zsh, /user/share/zsh</seg>
|
---|
[2ba7d12] | 110 | </seglistitem>
|
---|
| 111 | </segmentedlist>
|
---|
[44f085a] | 112 |
|
---|
[2ba7d12] | 113 | <variablelist>
|
---|
| 114 | <bridgehead renderas="sect3">Short Description</bridgehead>
|
---|
| 115 | <?dbfo list-presentation="list"?>
|
---|
[44f085a] | 116 |
|
---|
[0b5a693] | 117 | <varlistentry id="zsh-prog">
|
---|
[2ba7d12] | 118 | <term><command>zsh</command></term>
|
---|
| 119 | <listitem><para>is a shell which has command-line editing, built-in spelling
|
---|
[44f085a] | 120 | correction, programmable command completion, shell functions (with
|
---|
[2ba7d12] | 121 | autoloading), a history mechanism, and a host of other features.</para>
|
---|
[0b5a693] | 122 | <indexterm zone="zsh zsh-prog">
|
---|
[2ba7d12] | 123 | <primary sortas="b-zsh">zsh</primary></indexterm>
|
---|
| 124 | </listitem>
|
---|
| 125 | </varlistentry>
|
---|
| 126 | </variablelist>
|
---|
[44f085a] | 127 |
|
---|
| 128 | </sect2>
|
---|
[f45b1953] | 129 |
|
---|
| 130 | </sect1>
|
---|
[1aa3a3ca] | 131 |
|
---|