Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Complete with *part* not part*



Hello,
when completing, entering "l"<TAB> will complete say "ls", "lsof",
etc.. How to make "s"<TAB> complete ls, lsof, etc. ?

I'm completing long names – names of plugins:
            plugins=( "$ZPLG_PLUGINS_DIR"/*(N:t) )
            _wanted plugins expl "Plugins" \
                compadd "$@" -a - plugins && ret=0

want it be that "part" of plugin names will be completed not only as
part* but also as *part*.

Best regards,
Sebastian Gniazdowski



Messages sorted by: Reverse Date, Date, Thread, Author