zsh-users
 help / Atom feed
* Sharing a blog post on Zplugin id-as"" feature
@ 2018-10-12 13:57 Sebastian Gniazdowski
  0 siblings, 0 replies; 1+ messages in thread
From: Sebastian Gniazdowski @ 2018-10-12 13:57 UTC (permalink / raw)
  To: Zsh Users

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

^ permalink raw reply	[flat|nested] 1+ messages in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-12 13:57 Sharing a blog post on Zplugin id-as"" feature Sebastian Gniazdowski

zsh-users

Archives are clonable: git clone --mirror http://inbox.vuxu.org/zsh-users

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.zsh.users


AGPL code for this site: git clone https://public-inbox.org/ public-inbox