source: postlfs/shells/zsh.xml@ 5ef8b741

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 5ef8b741 was 5ef8b741, checked in by Randy McMurchy <randy@…>, 19 years ago

Updated to ZSH-4.2.5

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4560 af4574ff-66df-0310-9fd7-8a98e5e911e0

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