![]() setopt EXTENDEDGLOB # Enables extended globbing in zsh. The ^ character is used to negate any pattern following it. Here are some examples of the extended globbing offered by zsh. Extra features can be enabled if the EXTENDEDGLOB option is set. Wikipedia defines globbing as follows: In computer programming, in particular in a UNIX-like environment, the term globbing is sometimes used to refer to pattern matching based on wildcard characters. Shells before zsh also offered globbing however, zsh offers extended globbing. Prompts on zsh can be customised to be right-aligned, left-aligned or as multi-lined prompts. All this can be configured further according to your needs. Also, quoted text is highlighted in yellow. In some terminals, existing commands are highlighted in green and those typed incorrectly are highlighted in red. This makes the command-line look stunning. To include real time highlighting, clone the zsh-syntax-highlighting repository from github (). Real time highlighting and themeable prompts ![]() Zsh has tab completion for the path of directories or files in the command line too.Īnother great feature is that you can switch paths by using 1 to switch to the previous path, 2 to switch to the previous, previous path and so on. You can also move through the files in a directory with the tab key. Pressing the tab key twice enables the auto complete mode, and you can cycle through the options using the tab key. Tab completion in zsh supports the command line option for the auto completion of commands.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |