Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Complete with *part* not part*
- X-seq: zsh-users 21270
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Complete with *part* not part*
- Date: Fri, 12 Feb 2016 12:48:32 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=ta2gBiFChp9c7KDB7tO8KIkGmO9rShrnvvlCMycHVVs=; b=TkuEmcYP5FFVjNzmx5173P8umv8Tp3XP6CNuOcNdvapevUvw13Z7zN6Nd4aa1fSI3M eyEVyVQaMGeg+CXcsJzYJSj8zISMyW/Pc/VxkFF483Z12HpZwOHxV9VmfR4bj5vMuzGN B/RtY9VsOqVhzLxFyTnwNuBA9/76HcyI3KWT2g3Ru9DDLhbDYvsAr3Y4LGbzWowh9YMl igU74XPMGmklFhpcUAouKeD+A/WxNoeJ5jrECIeSnU0T7qjfRghZMrjRInPAyIZqAX9W S2Tn1WKafEuiKjQPvaPKKMAXbqkhyHCjSg65/jBXtYN6Ei/GVb+xB7m5hygY7dMYh4Xe dVgg==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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