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

Sharing a blog post on Zplugin id-as"" feature



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