zsh
美
英 
- 網(wǎng)絡(luò)紹興;東莞(Zhongshan);什那干群
例句
In the examples so far, we have been using a prompt of "zsh%" , which is not terribly informative.
在到目前為止的示例中,我們一直在使用沒有包含一些有用信息的“zsh%”提示符。
The Zsh even has a form of spell checker, which attempts to correct various mistakes.
Zsh甚至還有一個(gè)可以校正各種錯(cuò)誤的拼寫檢查器。
In zsh, you can accomplish this by skipping the temporary files, as shown in Listing 21.
在zsh中,您無需臨時(shí)文件即可完成此任務(wù),如清單21所示。
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所示的以下語法來定義函數(shù)。
Please do try out the examples for yourself, to really get a feel for Zsh.
請(qǐng)親自嘗試這些示例來真正體會(huì)Zsh。
The zsh operator, $=, splits words at whitespace boundaries.
zsh操作符$=在空白邊界處拆分單詞。
There are a number of options available to you within zsh.
您可以在zsh中使用許多選項(xiàng)。
Finally, zsh supports a number of postfix qualifiers.
最后,zsh支持許多后綴修飾符。
You'll find throughout this article that this is something Zsh is very good at doing.
通過本文您會(huì)發(fā)現(xiàn)Zsh對(duì)此很擅長(zhǎng)。
Within some shells, zsh included, you can complete a file or command by pressing the TAB key.
在某些Shell(包括zsh)中,您可以通過按TAB鍵來完成文件或命令。
zsh wiki: Collaborate, discuss, and share your zsh expertise.
要協(xié)作、討論和分享您的zsh專業(yè)知識(shí),請(qǐng)訪問zshwiki。
With zsh, the same result can be achieved on a single command line (see Listing 13).
使用zsh,在單個(gè)命令行上即可實(shí)現(xiàn)相同的結(jié)果(請(qǐng)參見清單13)。
The above example was with the Bash shell, but of course the Zsh can do this too!
以上的示例是用Bashshell,當(dāng)然Zsh也可以做到這一點(diǎn)!
Hence, the command synch. zsh has only one positional parameter, $0.
因此,命令synch.zsh只有一個(gè)位置參數(shù)$0。
See the Zsh documentation for more details of the Zsh startup process.
欲了解Zsh啟動(dòng)過程詳情,請(qǐng)參閱Zsh文檔。
By using the custom completion control in zsh, you can add these subcommands to svn as part of the completion process.
通過使用zsh中的自定義完成控制,您可以作為完成過程的一部分來將這些子命令添加到svn。
You can redirect to multiple outputs simultaneously with zsh (see Listing 15).
現(xiàn)在使用zsh,您可以同時(shí)重定向到多個(gè)輸出(請(qǐng)參見清單15)。
Zsh offers a few default colours that can be accessed with names such as red, cyan, etc.
Zsh提供了一些默認(rèn)的顏色,可以通過red、cyan這樣的名字來引用。
The Zsh also supports a right-hand prompt, using the RPROMPT variable which supports the same syntax.
Zsh同樣支持右邊提示符,它使用支持相同語法的RPROMPT變量。
zsh Mailing List Archive: Read this mailing list to learn more Z shell tricks and tips.
zsh郵件列表存檔:閱讀該列表以了解更多的ZShell技巧和提示。
These commands work in bash, but similar options exist in zsh and other shells.
這些命令可以在bash中執(zhí)行,但zsh和其他Shell也具有類似的選項(xiàng)。
The commands should work in all shells, not just zsh.
這些命令可以在所有的shell中工作,而不僅僅是zsh。
By default the behaviour of Zsh is very similar, but by setting a couple of options, we can make it friendlier.
Zsh缺省的情況與之很類似,但是通過設(shè)置幾個(gè)選項(xiàng),我們可以使之友好些。
But Zsh can do even better than that.
但是Zsh甚至可以比這做得還要好。
For example, to use cloud. zsh-theme, set ZSH_THEME=cloud.
例如,要想使用cloud.zsh-theme,則應(yīng)該設(shè)置ZSH_THEME=cloud。
If you save Listing 4 to an executable file named listcmds. zsh, the output might look like this
如果將清單4保存到一個(gè)名為listcmds.zsh的可執(zhí)行文件,則輸出可能類似如下
The production of hydrogen chloride and hydrochloric acid in the new type ZSH positive pressure two-in-one graphite synthesis furnace
新型ZSH正壓式二合一石墨合成爐生產(chǎn)氯化氫和鹽酸
Zsh has a multi-line editing mode, which is great for short shell scripts, as in this example
Zsh具有多行編輯模式,這特別適合于短小的shell腳本,如下例所示