Fix zcompile error with zsh 5.4

Error is:

    $ zcompile highlighters/main/test-data/function.zsh
    zsh: defining function based on alias `ls'
    zsh: parse error near `()'
    zcompile: can't read file: highlighters/main/test-data/function.zsh

View `Incompatibilities since 5.3.1` in
bb218704d2/README
This commit is contained in:
Eric Nielsen 2017-09-11 12:03:20 -05:00
parent 434af7b11d
commit e5091a858d

View File

@ -27,10 +27,10 @@
# vim: ft=zsh sw=2 ts=2 et
# -------------------------------------------------------------------------------------------------
cd() {
function cd {
builtin cd "$@"
}
ls() {
function ls {
command ls "$@"
}
BUFFER='cd;ls'