glfs/postlfs/shells/zsh.xml

131 lines
4.1 KiB
XML
Raw Normal View History

<?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">
<!ENTITY zsh-md5sum "b59ef34b8de288d5fd16f842451125c8">
]>
<sect1 id="zsh" xreflabel="ZSH-&zsh-version;">
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<?dbhtml filename="zsh.html"?>
<title>ZSH-&zsh-version;</title>
<indexterm zone="zsh">
<primary sortas="a-ZSH">ZSH</primary></indexterm>
<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
closely resembles <application>KSH</application> but includes many
enhancements.</para>
<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>
<listitem><para>Download MD5 sum: &zsh-md5sum;</para></listitem>
<listitem><para>Download size: &zsh-size;</para></listitem>
<listitem><para>Estimated disk space required:
&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>
<para>Install <application>ZSH</application> by running the following
commands:</para>
<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
make</command></userinput></screen>
<para>Now, as the root user:</para>
<screen><userinput role='root'><command>make install</command></userinput></screen>
</sect2>
<sect2>
<title>Configuring <application>ZSH</application></title>
<sect3 id="zsh-config"><title>Config files</title>
<para>There are a whole host of configuration files for
<application>ZSH</application> including
<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>
<indexterm zone="zsh zsh-config">
<primary sortas="e-etc-zshenv">/etc/zshenv</primary></indexterm>
<indexterm zone="zsh zsh-config">
<primary sortas="e-etc-zprofile">/etc/zprofile</primary></indexterm>
<indexterm zone="zsh zsh-config">
<primary sortas="e-etc-zshrc">/etc/zshrc</primary></indexterm>
<indexterm zone="zsh zsh-config">
<primary sortas="e-etc-zlogin">/etc/zlogin</primary></indexterm>
<indexterm zone="zsh zsh-config">
<primary sortas="e-etc-zlogout">/etc/zlogout</primary></indexterm>
</sect3>
</sect2>
<sect2>
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>zsh</seg>
<seg>None</seg>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Description</bridgehead>
<?dbfo list-presentation="list"?>
<varlistentry id="zsh-prog">
<term><command>zsh</command></term>
<listitem><para>is a shell which has command-line editing, built-in spelling
correction, programmable command completion, shell functions (with
autoloading), a history mechanism, and a host of other features.</para>
<indexterm zone="zsh zsh-prog">
<primary sortas="b-zsh">zsh</primary></indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>