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