<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://zshwiki.org/home/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://zshwiki.org/home/feed.php">
        <title>ZshWiki</title>
        <description></description>
        <link>http://zshwiki.org/home/</link>
        <image rdf:resource="http://zshwiki.org/home/lib/images/favicon.ico" />
       <dc:date>2008-07-23T19:51:07+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://zshwiki.org/home/config/prompt?rev=1216835096"/>
                <rdf:li rdf:resource="http://zshwiki.org/home/options/expn?rev=1216503671"/>
                <rdf:li rdf:resource="http://zshwiki.org/home/docs/wikifaq?rev=1216127866"/>
                <rdf:li rdf:resource="http://zshwiki.org/home/options/init?rev=1216025619"/>
                <rdf:li rdf:resource="http://zshwiki.org/home/examples/functions?rev=1213373800"/>
                <rdf:li rdf:resource="http://zshwiki.org/home/builtin/functions/zmv?rev=1213170874"/>
                <rdf:li rdf:resource="http://zshwiki.org/home/builtin/functions/zargs?rev=1212765741"/>
                <rdf:li rdf:resource="http://zshwiki.org/home/links/configs?rev=1212763391"/>
                <rdf:li rdf:resource="http://zshwiki.org/home/start?rev=1212763240"/>
                <rdf:li rdf:resource="http://zshwiki.org/home/playground/start?rev=1208523488"/>
                <rdf:li rdf:resource="http://zshwiki.org/home/tutorials?rev=1207268230"/>
                <rdf:li rdf:resource="http://zshwiki.org/home/builtin/modules/zpty?rev=1207235231"/>
                <rdf:li rdf:resource="http://zshwiki.org/home/builtin/modules/zftp?rev=1207229436"/>
                <rdf:li rdf:resource="http://zshwiki.org/home/builtin/modules/regex?rev=1207229366"/>
                <rdf:li rdf:resource="http://zshwiki.org/home/builtin/modules/zcurses?rev=1207229313"/>
                <rdf:li rdf:resource="http://zshwiki.org/home/builtin/modules/zstat?rev=1207229252"/>
                <rdf:li rdf:resource="http://zshwiki.org/home/builtin/functions/zrecompile?rev=1207219694"/>
                <rdf:li rdf:resource="http://zshwiki.org/home/builtin/functions/run-help?rev=1207218999"/>
                <rdf:li rdf:resource="http://zshwiki.org/home/examples/expnparam?rev=1207217555"/>
                <rdf:li rdf:resource="http://zshwiki.org/home/code/zomg?rev=1207216344"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://zshwiki.org/home/lib/images/favicon.ico">
        <title>ZshWiki</title>
        <link>http://zshwiki.org/home/</link>
        <url>http://zshwiki.org/home/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://zshwiki.org/home/config/prompt?rev=1216835096">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-23T19:44:56+02:00</dc:date>
        <dc:creator>Mickaël THOMAS</dc:creator>
        <title>config:prompt</title>
        <link>http://zshwiki.org/home/config/prompt?rev=1216835096</link>
        <description>Actually, how to setup zsh's prompt is quite accurately described in the manual (PROMPT EXPANSION).

Colors

 However, let's look at one thing a *lot* of people get wrong when figuring out a custom prompt for the first time.

First, when you want to use colors, use the hashes provided by the colors function described in zshcontrib(1) (here in the manual on the web), unless you know want you are doing and you need something else (like colors not covered by that function).</description>
    </item>
    <item rdf:about="http://zshwiki.org/home/options/expn?rev=1216503671">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-19T23:41:11+02:00</dc:date>
        <dc:creator>Angel Olivera</dc:creator>
        <title>options:expn - added failed pattern matches table</title>
        <link>http://zshwiki.org/home/options/expn?rev=1216503671</link>
        <description>bad_pattern

	*  if a pattern or glob is badly formed, print out an error

 brace_ccl

	*  See:


zsh% setopt no_brace_ccl
zsh% print {abc.}file
{abc.}file
zsh% setopt brace_ccl
zsh% print {abc.}file
.file afile bfile cfile


equals

	*  the mighty =command expansion; try: print =emacs (if you've emacs installed)</description>
    </item>
    <item rdf:about="http://zshwiki.org/home/docs/wikifaq?rev=1216127866">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-15T15:17:46+02:00</dc:date>
        <dc:creator>Frank Terbeck</dc:creator>
        <title>docs:wikifaq - Add the 'my-uparrow-is-fucked-up' issue.</title>
        <link>http://zshwiki.org/home/docs/wikifaq?rev=1216127866</link>
        <description>#zsh / wiki FAQ

 This page aims to link to pages in the wiki (and, if applicable, elsewhere), to answer questions that new users are likely to run into.

However, this page does not replace the official zsh FAQ. It should be checked for answers as well.</description>
    </item>
    <item rdf:about="http://zshwiki.org/home/options/init?rev=1216025619">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-14T10:53:39+02:00</dc:date>
        <dc:creator>Angel Olivera</dc:creator>
        <title>options:init - Added &quot;Files loaded on startup&quot; section</title>
        <link>http://zshwiki.org/home/options/init?rev=1216025619</link>
        <description>all_export

	*  automagically export defined variables; not recommended.

 global_export

	*  if set, parameters defined in functions are defined in global contexts as well; I don't like that one.

 rcs

	*  if unset, none of the initialization files are sourced (except for the global zshenv file).
	*  this also affects history saving: when 'rcs' is unset, the shell history will *not* be saved to $HISTFILE.</description>
    </item>
    <item rdf:about="http://zshwiki.org/home/examples/functions?rev=1213373800">
        <dc:format>text/html</dc:format>
        <dc:date>2008-06-13T18:16:40+02:00</dc:date>
        <dc:creator>Anthony CHARLES</dc:creator>
        <title>examples:functions</title>
        <link>http://zshwiki.org/home/examples/functions?rev=1213373800</link>
        <description>Extending commands/builtins

Extended cd #0

 (cd path/path/file), go to the directory containing the file, no questions asked added support for cd foo bar to change from /foo/subdir to /bar/subdir (not friendly to reiserfs4's files as directories).</description>
    </item>
    <item rdf:about="http://zshwiki.org/home/builtin/functions/zmv?rev=1213170874">
        <dc:format>text/html</dc:format>
        <dc:date>2008-06-11T09:54:34+02:00</dc:date>
        <dc:creator>Sharad Pratap</dc:creator>
        <title>builtin:functions:zmv</title>
        <link>http://zshwiki.org/home/builtin/functions/zmv?rev=1213170874</link>
        <description>to load zmv :  


autoload -U zmv


zmv is a module that allow people to do massive rename.  The first option to know about zmv is the -n option that will show what will be done without being executed.

to rename a class music files which names are la like this : artist - album - track - title.ogg :</description>
    </item>
    <item rdf:about="http://zshwiki.org/home/builtin/functions/zargs?rev=1212765741">
        <dc:format>text/html</dc:format>
        <dc:date>2008-06-06T17:22:21+02:00</dc:date>
        <dc:creator>Bapt</dc:creator>
        <title>builtin:functions:zargs</title>
        <link>http://zshwiki.org/home/builtin/functions/zargs?rev=1212765741</link>
        <description>to load zargs 


autoload -U zargs


To remove all the ~ files recursively and prevent rm to have to many arguments :  


zargs **/*~ -- rm</description>
    </item>
    <item rdf:about="http://zshwiki.org/home/links/configs?rev=1212763391">
        <dc:format>text/html</dc:format>
        <dc:date>2008-06-06T16:43:11+02:00</dc:date>
        <dc:creator>Bapt</dc:creator>
        <title>links:configs</title>
        <link>http://zshwiki.org/home/links/configs?rev=1212763391</link>
        <description>If you have some nifty configuration files for Zsh, please add them here. 

	*  Damien Elmes' zshrc
	*  asyd (Bruno Bonfils)'s ZSH dotfiles (per OS/Distrib/Host resource file) here (subversion)
	*  Marijan Peh Zshrc file
	*  Adam Spiers .zsh{env,rc} and various autoloaded functions.
	*  Thomas Koehler also has a .zshrc
	*  zyrnix's zshrc
	*  Arne Schwabes .zshrc file 
	*  luis pedro's Completion scripts for KDE if you like to mix GUI and CLI
	*  jdq's zshrc (mainly a mix of the other files)
	*  …</description>
    </item>
    <item rdf:about="http://zshwiki.org/home/start?rev=1212763240">
        <dc:format>text/html</dc:format>
        <dc:date>2008-06-06T16:40:40+02:00</dc:date>
        <dc:creator>Bruno Bonfils</dc:creator>
        <title>start</title>
        <link>http://zshwiki.org/home/start?rev=1212763240</link>
        <description>Zsh is a shell for Un*x systems that has been around since 1990 and is more sophisticated and configurable than most shells out there. There are lots of features, such as:

	*  Context-based completion of many functions (like remote filename completion in ssh, makefile targets, configure scripts, and much more), which is highly configurable.
	*  A powerful programming language with complex pattern matching mechanism (a pattern like  **/*(^/)  matches all (non-hidden) files in all subdirectories,…</description>
    </item>
    <item rdf:about="http://zshwiki.org/home/playground/start?rev=1208523488">
        <dc:format>text/html</dc:format>
        <dc:date>2008-04-18T14:58:08+02:00</dc:date>
        <dc:creator>Sharad Pratap</dc:creator>
        <title>playground:start</title>
        <link>http://zshwiki.org/home/playground/start?rev=1208523488</link>
        <description>execute your custom commands when your program exceed $_spantime minutes

	* used the preexec and precmd of Zshall

 Please note it is not useful when suspend job control used, I hope some day zshall will have some build-in for this utilities.

Useful in situations you have to wait for long builds, tests, regressions and you forget to append a mail  command</description>
    </item>
    <item rdf:about="http://zshwiki.org/home/tutorials?rev=1207268230">
        <dc:format>text/html</dc:format>
        <dc:date>2008-04-04T02:17:10+02:00</dc:date>
        <dc:creator>Bruno Bonfils</dc:creator>
        <title>tutorials - created</title>
        <link>http://zshwiki.org/home/tutorials?rev=1207268230</link>
        <description>Talks

 Talk - in french - is available here : 

	*  Video
	*  Slides</description>
    </item>
    <item rdf:about="http://zshwiki.org/home/builtin/modules/zpty?rev=1207235231">
        <dc:format>text/html</dc:format>
        <dc:date>2008-04-03T17:07:11+02:00</dc:date>
        <dc:creator>Bapt</dc:creator>
        <title>builtin:modules:zpty</title>
        <link>http://zshwiki.org/home/builtin/modules/zpty?rev=1207235231</link>
        <description>zpty is a module that allow to create a virtual tty which can be written and read from the script. allowing to deal with command that refuses to get entry from a pipe : smbpasswd, ssh, scp.

to load  


zmodload zsh/zpty


Here is an example of code using scp to automatically copy things over the network without asking password and without sharing keys</description>
    </item>
    <item rdf:about="http://zshwiki.org/home/builtin/modules/zftp?rev=1207229436">
        <dc:format>text/html</dc:format>
        <dc:date>2008-04-03T15:30:36+02:00</dc:date>
        <dc:creator>Bapt</dc:creator>
        <title>builtin:modules:zftp</title>
        <link>http://zshwiki.org/home/builtin/modules/zftp?rev=1207229436</link>
        <description>to load 


zmodload zsh/zftp</description>
    </item>
    <item rdf:about="http://zshwiki.org/home/builtin/modules/regex?rev=1207229366">
        <dc:format>text/html</dc:format>
        <dc:date>2008-04-03T15:29:26+02:00</dc:date>
        <dc:creator>Bapt</dc:creator>
        <title>builtin:modules:regex - created</title>
        <link>http://zshwiki.org/home/builtin/modules/regex?rev=1207229366</link>
        <description>to load  


zmodload zsh/regex</description>
    </item>
    <item rdf:about="http://zshwiki.org/home/builtin/modules/zcurses?rev=1207229313">
        <dc:format>text/html</dc:format>
        <dc:date>2008-04-03T15:28:33+02:00</dc:date>
        <dc:creator>Bapt</dc:creator>
        <title>builtin:modules:zcurses - created</title>
        <link>http://zshwiki.org/home/builtin/modules/zcurses?rev=1207229313</link>
        <description>to load  


zmodload zsh/curses</description>
    </item>
    <item rdf:about="http://zshwiki.org/home/builtin/modules/zstat?rev=1207229252">
        <dc:format>text/html</dc:format>
        <dc:date>2008-04-03T15:27:32+02:00</dc:date>
        <dc:creator>Bapt</dc:creator>
        <title>builtin:modules:zstat - created</title>
        <link>http://zshwiki.org/home/builtin/modules/zstat?rev=1207229252</link>
        <description>to load  


zmodload -F zsh/stat b:zstat</description>
    </item>
    <item rdf:about="http://zshwiki.org/home/builtin/functions/zrecompile?rev=1207219694">
        <dc:format>text/html</dc:format>
        <dc:date>2008-04-03T12:48:14+02:00</dc:date>
        <dc:creator>Bapt</dc:creator>
        <title>builtin:functions:zrecompile</title>
        <link>http://zshwiki.org/home/builtin/functions/zrecompile?rev=1207219694</link>
        <description>zercompile is a function that precompile the zsh code so that it would be faster.

to load zrecompile 


autoload -U zrecompile


zrecompile .zshrc will create a .zshrc.zwc which a compiled version of .zshrc zrecompile will re-compile a zsh file only if the file is newer than its .zwc.</description>
    </item>
    <item rdf:about="http://zshwiki.org/home/builtin/functions/run-help?rev=1207218999">
        <dc:format>text/html</dc:format>
        <dc:date>2008-04-03T12:36:39+02:00</dc:date>
        <dc:creator>Bapt</dc:creator>
        <title>builtin:functions:run-help</title>
        <link>http://zshwiki.org/home/builtin/functions/run-help?rev=1207218999</link>
        <description>run-help is a function that invoke the manpage concerning the first command in current command line, and when man page is quit, that command line keeps as it were before run-help

to load run-help 


autoload -U run-help


now on a command line if you type ESC-h, ESC-H, ALT-h or ALT-H it will show you the manpage that then get you back to your line.</description>
    </item>
    <item rdf:about="http://zshwiki.org/home/examples/expnparam?rev=1207217555">
        <dc:format>text/html</dc:format>
        <dc:date>2008-04-03T12:12:35+02:00</dc:date>
        <dc:creator>Bapt</dc:creator>
        <title>examples:expnparam</title>
        <link>http://zshwiki.org/home/examples/expnparam?rev=1207217555</link>
        <description>Apart from this page, we do now have pageset that discusses parameter expansion in more detail. Please refer to Scripting:Parameter Expansion.

Substitutions tips

1. Use a variable name as reference to other variable
  1.1 Numeric content


var1=5
tmp=var1
echo $((tmp))</description>
    </item>
    <item rdf:about="http://zshwiki.org/home/code/zomg?rev=1207216344">
        <dc:format>text/html</dc:format>
        <dc:date>2008-04-03T11:52:24+02:00</dc:date>
        <dc:creator>Bapt</dc:creator>
        <title>code:zomg - created</title>
        <link>http://zshwiki.org/home/code/zomg?rev=1207216344</link>
        <description>ZOMG is a console-based last.fm client written in Z-Shell. It can submit the music tracks you play to last.fm via the Audioscrobbler protocol, and it can play last.fm radio stations. 

&lt;http://zomg.alioth.debian.org/&gt;</description>
    </item>
</rdf:RDF>
