2004-06-11 15:06:47 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
|
|
|
<!ENTITY zsh-download-http "http://www.zsh.org/pub/zsh-&zsh-version;.tar.bz2">
|
|
|
|
<!ENTITY zsh-download-ftp "ftp://ftp.zsh.org/zsh/zsh-&zsh-version;.tar.bz2">
|
|
|
|
<!ENTITY zsh-size "1.9 MB">
|
|
|
|
<!ENTITY zsh-buildsize "17 MB">
|
|
|
|
<!ENTITY zsh-time "0.51 SBU">
|
2004-08-18 05:16:42 +08:00
|
|
|
<!ENTITY zsh-md5sum "b59ef34b8de288d5fd16f842451125c8">
|
2004-06-11 15:06:47 +08:00
|
|
|
]>
|
|
|
|
|
2005-01-26 03:21:25 +08:00
|
|
|
<sect1 id="zsh" xreflabel="ZSH-&zsh-version;">
|
2004-08-10 12:23:09 +08:00
|
|
|
<sect1info>
|
2004-08-10 12:25:57 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2004-08-10 12:23:09 +08:00
|
|
|
</sect1info>
|
2004-05-07 04:30:53 +08:00
|
|
|
<?dbhtml filename="zsh.html"?>
|
2003-09-27 02:58:36 +08:00
|
|
|
<title>ZSH-&zsh-version;</title>
|
2005-01-26 03:21:25 +08:00
|
|
|
<indexterm zone="zsh">
|
2005-01-17 00:56:15 +08:00
|
|
|
<primary sortas="a-ZSH">ZSH</primary></indexterm>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2004-06-11 15:06:47 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Introduction to <application>ZSH</application></title>
|
|
|
|
|
|
|
|
<para>The <application>ZSH</application> package contains a command
|
|
|
|
interpreter (shell) usable as an interactive login shell and as
|
|
|
|
a shell script command processor. Of the standard shells,
|
|
|
|
<application>ZSH</application> most
|
2005-01-11 03:40:17 +08:00
|
|
|
closely resembles <application>KSH</application> but includes many
|
|
|
|
enhancements.</para>
|
2004-06-11 15:06:47 +08:00
|
|
|
|
|
|
|
<sect3><title>Package information</title>
|
|
|
|
<itemizedlist spacing='compact'>
|
|
|
|
<listitem><para>Download (HTTP): <ulink
|
|
|
|
url="&zsh-download-http;"/></para></listitem>
|
|
|
|
<listitem><para>Download (FTP): <ulink
|
|
|
|
url="&zsh-download-ftp;"/></para></listitem>
|
2005-01-11 03:40:17 +08:00
|
|
|
<listitem><para>Download MD5 sum: &zsh-md5sum;</para></listitem>
|
2004-06-11 15:06:47 +08:00
|
|
|
<listitem><para>Download size: &zsh-size;</para></listitem>
|
2005-01-11 01:48:41 +08:00
|
|
|
<listitem><para>Estimated disk space required:
|
2004-06-11 15:06:47 +08:00
|
|
|
&zsh-buildsize;</para></listitem>
|
|
|
|
<listitem><para>Estimated build time:
|
|
|
|
&zsh-time;</para></listitem></itemizedlist>
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title><application>ZSH</application> dependencies</title>
|
|
|
|
<sect4><title>Optional</title>
|
|
|
|
<para><xref linkend="pcre"/></para></sect4>
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of <application>ZSH</application></title>
|
|
|
|
|
2005-01-11 03:40:17 +08:00
|
|
|
<para>Install <application>ZSH</application> by running the following
|
|
|
|
commands:</para>
|
2004-06-11 15:06:47 +08:00
|
|
|
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr &&
|
2005-01-31 07:01:56 +08:00
|
|
|
make</command></userinput></screen>
|
|
|
|
|
|
|
|
<para>Now, as the root user:</para>
|
|
|
|
|
|
|
|
<screen><userinput role='root'><command>make install</command></userinput></screen>
|
2004-06-11 15:06:47 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Configuring <application>ZSH</application></title>
|
|
|
|
|
2005-01-11 05:05:41 +08:00
|
|
|
<sect3 id="zsh-config"><title>Config files</title>
|
2004-06-11 15:06:47 +08:00
|
|
|
<para>There are a whole host of configuration files for
|
|
|
|
<application>ZSH</application> including
|
2005-01-11 05:05:41 +08:00
|
|
|
<filename>/etc/zshenv</filename>,
|
|
|
|
<filename>/etc/zprofile</filename>,
|
|
|
|
<filename>/etc/zshrc</filename>,
|
|
|
|
<filename>/etc/zlogin</filename> and
|
|
|
|
<filename>/etc/zlogout</filename>. You can find more information on these in
|
|
|
|
the <filename>zsh(1)</filename> and related man pages.</para>
|
|
|
|
|
2005-01-26 03:21:25 +08:00
|
|
|
<indexterm zone="zsh zsh-config">
|
2005-01-12 12:36:51 +08:00
|
|
|
<primary sortas="e-etc-zshenv">/etc/zshenv</primary></indexterm>
|
2005-01-26 03:21:25 +08:00
|
|
|
<indexterm zone="zsh zsh-config">
|
2005-01-12 12:36:51 +08:00
|
|
|
<primary sortas="e-etc-zprofile">/etc/zprofile</primary></indexterm>
|
2005-01-26 03:21:25 +08:00
|
|
|
<indexterm zone="zsh zsh-config">
|
2005-01-12 12:36:51 +08:00
|
|
|
<primary sortas="e-etc-zshrc">/etc/zshrc</primary></indexterm>
|
2005-01-26 03:21:25 +08:00
|
|
|
<indexterm zone="zsh zsh-config">
|
2005-01-12 12:36:51 +08:00
|
|
|
<primary sortas="e-etc-zlogin">/etc/zlogin</primary></indexterm>
|
2005-01-26 03:21:25 +08:00
|
|
|
<indexterm zone="zsh zsh-config">
|
2005-01-12 12:36:51 +08:00
|
|
|
<primary sortas="e-etc-zlogout">/etc/zlogout</primary></indexterm>
|
2004-06-11 15:06:47 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
|
|
|
|
2005-01-11 03:40:17 +08:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
2005-01-31 07:01:56 +08:00
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
2005-01-11 03:40:17 +08:00
|
|
|
<seglistitem>
|
|
|
|
<seg>zsh</seg>
|
2005-01-31 07:01:56 +08:00
|
|
|
<seg>None</seg>
|
|
|
|
<seg>None</seg>
|
2005-01-11 03:40:17 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2004-06-11 15:06:47 +08:00
|
|
|
|
2005-01-11 03:40:17 +08:00
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Description</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
2004-06-11 15:06:47 +08:00
|
|
|
|
2005-01-26 03:21:25 +08:00
|
|
|
<varlistentry id="zsh-prog">
|
2005-01-11 03:40:17 +08:00
|
|
|
<term><command>zsh</command></term>
|
|
|
|
<listitem><para>is a shell which has command-line editing, built-in spelling
|
2004-06-11 15:06:47 +08:00
|
|
|
correction, programmable command completion, shell functions (with
|
2005-01-11 03:40:17 +08:00
|
|
|
autoloading), a history mechanism, and a host of other features.</para>
|
2005-01-26 03:21:25 +08:00
|
|
|
<indexterm zone="zsh zsh-prog">
|
2005-01-11 03:40:17 +08:00
|
|
|
<primary sortas="b-zsh">zsh</primary></indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
2004-06-11 15:06:47 +08:00
|
|
|
|
|
|
|
</sect2>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect1>
|
2002-07-15 05:23:10 +08:00
|
|
|
|