diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-12-09 12:49:29 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-12-09 12:49:29 +0000 |
commit | 405fd076567c439e6adc10b715ca72e652776757 (patch) | |
tree | e74b20fce183fed2ba3ef57d7eff8cf9ba3e5a94 /Doc/Zsh/roadmap.yo | |
parent | de9a15ef2258765e9ada50c94d3c9f6d24b930ae (diff) | |
download | zsh-405fd076567c439e6adc10b715ca72e652776757.tar.gz zsh-405fd076567c439e6adc10b715ca72e652776757.tar.xz zsh-405fd076567c439e6adc10b715ca72e652776757.zip |
22057: don't use zsh/newuser in emulation
22058: tweak docs for release
Diffstat (limited to 'Doc/Zsh/roadmap.yo')
-rw-r--r-- | Doc/Zsh/roadmap.yo | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/Doc/Zsh/roadmap.yo b/Doc/Zsh/roadmap.yo index 547f7e20b..1e529c6f6 100644 --- a/Doc/Zsh/roadmap.yo +++ b/Doc/Zsh/roadmap.yo @@ -14,6 +14,12 @@ be created or edited to customize the shell. See ifzman(the section Startup/Shutdown Files in zmanref(zsh))\ ifnzman(noderef(Files)). +If no personal intialization files exist for the current user, a function +is run to help you change some of the most common settings. It won't +appear if your administrator has disabled the tt(zsh/newuser) module. +The function is designed to be self-explanatory. You can run it by hand +with `tt(autoload -Uz zsh-newuser-install; zsh-newuser-install -f)'. + sect(Interactive Use) Interaction with the shell uses the builtin Zsh Line Editor, ZLE. This is @@ -35,7 +41,7 @@ tt(HISTSIZE) and tt(SAVEHIST) in ifzman(zmanref(zshparams))\ ifnzman(noderef(Parameters Used By The Shell)). The line editor provides an extensive completion system and the shell -is supplied for completions with many commonly used commands. Note +is supplied with completions for many commonly used commands. Note that the new completion system referred to as tt(compsys) is preferred over the older tt(compctl) system. The completion system must be enabled explicitly when the shell starts. For more information see @@ -111,12 +117,15 @@ General shell syntax is introduced in ifzman(the section `Shell Grammar' in zmanref(zshmisc))\ ifnzman(noderef(Shell Grammar)). -One commonly encountered difference is that variables (other than arrays, a -particular type of variable) substituted onto the command line are not -split into words. See the description of the shell option -tt(SH_WORD_SPLIT) in ifzman(the section `Parameter Expansion' in -zmanref(zshexpn))\ +One commonly encountered difference is that variables substituted onto the +command line are not split into words. See the description of the shell option +tt(SH_WORD_SPLIT) in +ifzman(the section `Parameter Expansion' in zmanref(zshexpn))\ ifnzman(noderef(Parameter Expansion)). +In zsh, you should use arrays when you want variables to expand to more +than one word. See +ifzman(the section `Array Parameters' in zmanref(zshparam))\ +ifnzman(noderef(Array Parameters)). sect(Programming) @@ -124,7 +133,9 @@ The most convenient way of adding enhancements to the shell is typically by writing a shell function and arranging for it to be autoloaded. Functions are described in ifzman(the section `Functions' in zmanref(zshmisc))\ -ifnzman(noderef(Functions)). +ifnzman(noderef(Functions)). Users changing from the C shell and its +relatives should notice that aliases are less used in zsh as they don't +perform argument substitution, only simple text replacement. A few general functions, other than those for the line editor described above, are provided with the shell and are described in @@ -149,6 +160,6 @@ item(tt(zargs))( a version of tt(xargs) that makes the tt(find) command redundant ) item(tt(zmv))( -a command for renaming files with patterns. +a command for renaming files by means of shell patterns. ) enditem() |