|
|
|
|
|
by JNRowe
1948 days ago
|
|
Built-in zsh behaviour in fact, oh-my-zsh just enables some extremely useful non-default options. With a compinit call the directory substring expansion will work. And, with auto_pushd enabled cd fiddles with the directory stack. The ....... behaviour is interesting because it uses a global alias(alias -g) which is an awesome feature for text expansion anywhere in a line, unlike standard aliases which only expand where commands should be given. It means, for example, you can do `readlink -f ......` and it would perform `readlink ../../../../../..`. Aliases on zsh are very powerful indeed. I'm writing this text in the hope it drives at least one person to burn an afternoon on the amazing(but huge) zsh documentation, because the entire thing is full of gems. |
|