Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 80134 Details for
Bug 123322
Proposal for Zsh guide section in Gentoo documentation
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
zsh.diff
zsh.diff (text/plain), 4.90 KB, created by
Chris White (RETIRED)
on 2006-02-18 16:13:37 UTC
(
hide
)
Description:
zsh.diff
Filename:
MIME Type:
Creator:
Chris White (RETIRED)
Created:
2006-02-18 16:13:37 UTC
Size:
4.90 KB
patch
obsolete
>--- zsh.xml.old 2006-02-19 08:55:21.000000000 +0900 >+++ zsh.xml 2006-02-19 09:10:45.000000000 +0900 >@@ -2,19 +2,21 @@ > <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> > <!-- $Header$ --> > >-<guide link="/doc/en/guide.xml" lang="en"> >+<guide link="/doc/en/zsh.xml" lang="en"> > >-<title>Quick guide to Zsh installation and configuration</title> >+<title>zsh Configuration and Installation Guide</title> > > <author title="Author"> >- <mail link="hak8@wp.pl">Henryk Konsek</mail> >+ <mail link="hak8@wp.pl">Henryk Konsek</mail> >+</author> >+<author title="Editor"> >+ <mail link="chriswhite@gentoo.org">Chris White</mail> > </author> >- > > <abstract> >-This guide shows how to install and configure Zsh quickly. After lecture of this document you >-will be able use such Zsh features as advanced tab-completion, commands correction or prompt >-management. >+This guide shows how to install and configure zsh quickly. After >+completing this document you will be able use such zsh features >+as advanced tab-completion, command correction and prompt management. > </abstract> > > <!-- The content of this document is licensed under the CC-BY-SA license --> >@@ -27,31 +29,31 @@ > <chapter> > <title>Installation</title> > <section> >-<title>Packages download</title> >+<title>Aquiring zsh</title> > > <body> > <p> >-To install Zsh under Gentoo we need to emerge app-shells/zsh (Zsh itself) and app-shells/zsh-completion >-(Zsh completion scripts) packages. >+To install <c>zsh</c> under Gentoo we need to emerge <c>app-shells/zsh</c> >+(<c>zsh</c> itself) and <c>app-shells/zsh-completion</c> (<c>zsh</c> >+completion scripts) packages. > </p> > >-<pre caption="Emerging Zsh"> >- >- # emerge zsh zsh-completion >+<pre caption="Emerging zsh"> >+# <i>emerge zsh zsh-completion</i> > </pre> > > </body> > </section> > </chapter> >- > <chapter> > <title>Configuration</title> > <section> > <title>Introduction</title> > <body> > <p> >-After installation Zsh seems to be very simple and rather limited in the area of functionality. To change >-this state several configuration fixes should be performed. >+After the installation, <c>zsh</c> seems to be very simple and rather limited >+in the area of functionality. To change this, several configuration fixes need >+to be performed. > </p> > </body> > </section> >@@ -60,75 +62,68 @@ > <body> > > <p> >-To enable famous Zsh tab-completion system we have to type the following commands: >+To enable the famous <c>zsh</c> tab-completion system, the following commands >+must be entered: > </p> > > <pre caption="Completion enabling"> >- >-% autoload -U compinit >-% compinit >+% <i>autoload -U compinit</i> >+% <i>compinit</i> > </pre> > > </body> > </section> >- > <section> > <title>Command correction</title> > <body> > <p> >-This is also a good idea to enable correction of the commands written under shell. >+It is also a good idea to enable the correction of the commands written under shell. > </p> > > <pre caption="Correction enabling"> >- >-% setopt correctall >+% <i>setopt correctall</i> > </pre> > > </body> > </section> >- > <section> > <title>Prompts</title> > <body> > <p> >-Our prompt may seem quite boring however we can fix it easily in several steps. >-At first we need to initialize advanced prompt support: >+The prompt may seem quite boring however, but we can fix it easily in several >+steps. First, we need to initialize advanced prompt support: > </p> > > <pre caption="Advanced prompts enabling"> >- >-% autoload -U promptinit >-% promptinit >+% <i>autoload -U promptinit</i> >+% <i>promptinit</i> > </pre> > > <p> >-Available prompts samples may be printed via prompt -p command. Now we can activate our >-favourite one (oliver for example): >+Available prompts samples may be printed via the <c>prompt -p</c> command. Now >+we can activate our favorite one (oliver for example): > </p> > > <pre caption="Prompt choice"> >- >-% prompt oliver >+% <i>prompt oliver</i> > </pre> > > </body> > </section> >- > </chapter> >- > <chapter> > <title>Saving settings</title> > <section> >-<title>How to save Zsh settings in zshrc script</title> >+<title>Saving zsh settings</title> > <body> > <p> >-This is good idea to enable these option as a Zsh defaults for our system. Possible >-way to achieve this is to write our settings in the /etc/zsh/zshrc script using our >-favourite text editor (nano or vim for example): >+It is a good idea to enable this option as a <c>zsh</c> defaults for the system. >+One possible way to achieve this is to write our settings in the >+<path>/etc/zsh/zshrc</path> script using our favorite text editor (nano or vim >+for example): > </p> > >-<pre caption="vim /etc/zsh/zshrc"> >- >+<pre caption="/etc/zsh/zshrc"> > #!/bin/zsh > > # completion >@@ -142,19 +137,17 @@ > autoload -U promptinit > promptinit > prompt oliver >- > </pre> > > <p> >-The last thing we need to do is to set zshrc script as executable: >+The last thing we need to do is set the <path>/etc/zsh/zshrc</path> script as >+executable: > </p> > > <pre caption="Making zshrc executable"> >- >-% chmod a+x /etc/zsh/zshrc >+% <i>chmod a+x /etc/zsh/zshrc</i> > </pre> > </body> > </section> > </chapter> >- > </guide>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 123322
:
80129
|
80133
|
80134
|
80144
|
80319
|
80320
|
80326
|
80327
|
93612
|
95857
|
95873