但是Zsh甚至可以比這做得還要好。
I apologize for not having an example bash file to display, but the configuration syntax for both Zsh and bash are similar, so that should be a decent example for both.
By default the behaviour of Zsh is very similar, but by setting a couple of options, we can make it friendlier.
很抱歉我沒有一個bash的樣例文件給大家看,但是由於Zsh和bash的語法相近,我的樣例對於Z sh和bash都是一個相當好的例子。
Zsh具有多行編輯模式,這特別適合於短小的shell腳本,如下例所示。
Zsh has a multi-line editing mode, which is great for short shell scripts, as in this example.