Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Sharing a blog post on Zplugin id-as"" feature
- X-seq: zsh-users 23707
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Sharing a blog post on Zplugin id-as"" feature
- Date: Fri, 12 Oct 2018 15:57:56 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=3CSZjd46/xdbEWmeydddRx14CJWQtJvn2pj5v+pRgYk=; b=EGnOL1eAl3QhAk0Dsw2fzk1fhJUMZ61ODLC9t8/FZvq39PFfxSUs4s6MNxD1+EsKVy kpCmslraVXsKZHlzfFFk93vLYCbtrF9MFPOCJDkLDofq0d2VvtYEZTSQBGixL2ElwiS6 Z6F0R+rgBCTGdZfxhSKfDxaQ3RjpYCz1Ls5+5vLBrz4+6TXt/5WfkOG/LDm5FWrNARB2 Df3EdCfv1Akt1AR54kpsw69jK7iSLnYdyoO6/zYgSw+Y3HhWgAbq2lsjqcOcId99vJIG zQVMTGR/idQZezeevWztnyrKpYspUE6zc3ta8Ar7UxcwNFkL5WHyelj1jjq60y4jHvMv nWCA==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hello,
to say more than the blog post, Zplugin now allows to create
single-word names for plugins and/or to do own namespacing. For
example, the plugin can be "zsh-users/zsh-history-substring-search",
which is a long ID and may be hard to read and type, but now with
Zplugin one can do:
zplugin ice id-as"substring"
zplugin load zsh-users/zsh-history-substring-search
This allows to e.g. `zplugin cd substring` to CD into plugin's dir,
`zplugin delete substring` to delete the plugin, `zplugin report
substring` to show report on the plugin, etc. Lists of loaded plugins
will also show the nickname.
The blog post with other use cases:
http://zdharma.org/2018-10-12/Nickname-a-plugin-or-snippet
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author