The zsh operator, $=, splits words at whitespace boundaries.
zsh操作符 $=在空白边界处拆分单词。
With completion, you can type the start of a filename: zsh$ cd bar.
使用完成功能,您可以输入文件名的开头:zsh$cdbar。
zsh incorporates a range of functionality designed to make the interaction between the user and shell environment easier.
zsh整合了一系列旨在简化用户与Shell环境间交互的功能。
You can use Listing 18 within ZSH.
在zsh中,您可以使用清单18。
I hope you've enjoyed this brief tour of Zsh.
希望您喜欢这篇简短的Zsh教程。
The commands should work in all shells, not just ZSH.
这些命令可以在所有的shell中工作,而不仅仅是zsh。
There are a number of options available to you within ZSH.
您可以在zsh中使用许多选项。
ZSH wiki: Collaborate, discuss, and share your ZSH expertise.
要协作、讨论和分享您的zsh专业知识,请访问zsh wiki。
Please do try out the examples for yourself, to really get a feel for Zsh.
请亲自尝试这些示例来真正体会Zsh。
You can redirect to multiple outputs simultaneously with ZSH (see Listing 15).
现在使用zsh,您可以同时重定向到多个输出(请参见清单15)。
These commands work in bash, but similar options exist in ZSH and other shells.
这些命令可以在bash中执行,但zsh和其他Shell也具有类似的选项。
With ZSH, the same result can be achieved on a single command line (see Listing 13).
使用zsh,在单个命令行上即可实现相同的结果(请参见清单13)。
You'll find throughout this article that this is something Zsh is very good at doing.
通过本文您会发现Zsh对此很擅长。
In ZSH, you can accomplish this by skipping the temporary files, as shown in Listing 21.
在zsh中,您无需临时文件即可完成此任务,如清单21所示。
Zsh offers a few default colours that can be accessed with names such as red, cyan, etc.
Z sh提供了一些默认的颜色,可以通过red、cyan这样的名字来引用。
Zsh has a multi-line editing mode, which is great for short shell scripts, as in this example.
Zsh具有多行编辑模式,这特别适合于短小的shell脚本,如下例所示。
The Zsh also supports a right-hand prompt, using the RPROMPT variable which supports the same syntax.
Zsh同样支持右边提示符,它使用支持相同语法的RPROMPT变量。
Modern UNIX shells — bash, KSH, ZSH — offer many control structures and operations to create complex scripts.
现代UNIXShell——bash、ksh、zsh——提供了许多控制结构和操作以创建复杂的脚本。
By default the behaviour of Zsh is very similar, but by setting a couple of options, we can make it friendlier.
zsh缺省的情况与之很类似,但是通过设置几个选项,我们可以使之友好些。
By using the custom completion control in ZSH, you can add these subcommands to SVN as part of the completion process.
通过使用zsh中的自定义完成控制,您可以作为完成过程的一部分来将这些子命令添加到svn。
Within shells supporting the Bourne syntax (bash and ZSH), you can define a function using the following syntax shown in Listing 6.
在支持Bourne语法(bash和zsh)的外壳中,您可以使用清单6所示的以下语法来定义函数。
These options alone enable you to convert the many commands that would be needed in another shell into a single command-line entry within ZSH.
单凭这些选项就可使您能够将其他Shell中需要的许多命令转换为zsh中的单个命令行条目。
ZWS demonstrates how capable an application — in this case, an HTTP 0.9 + server — can be even though written in just over 500 lines of well-commented ZSH (!).
ZWS演示了一个即使是使用500多行带足够注释的zsh(!)编写的应用程序——在这里是一个HTTP 0.9 +服务器——也可以有多强大。
Another point to be aware of is the need to tell Zsh which characters form escape sequence in a prompt, otherwise it will assume they are all printable characters, and position the cursor incorrectly.
另一个需要注意的是需要告诉Zsh在提示符中哪些字符构成换码序列,否则就会假设它们都是可打印字符,光标的位置就会出错。
Another point to be aware of is the need to tell Zsh which characters form escape sequence in a prompt, otherwise it will assume they are all printable characters, and position the cursor incorrectly.
另一个需要注意的是需要告诉Zsh在提示符中哪些字符构成换码序列,否则就会假设它们都是可打印字符,光标的位置就会出错。
应用推荐