From: Sebastian Gniazdowski <sgniazdowski@gmail.com>
To: Zsh Users <zsh-users@zsh.org>
Subject: Sharing a blog post on Zplugin id-as"" feature
Date: Fri, 12 Oct 2018 15:57:56 +0200 [thread overview]
Message-ID: <CAKc7PVDk2TnuHB6oDKFSA0RRosObuob6FyXKr_DX7z5P7tHNLg@mail.gmail.com> (raw)
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
reply other threads:[~2018-10-12 13:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKc7PVDk2TnuHB6oDKFSA0RRosObuob6FyXKr_DX7z5P7tHNLg@mail.gmail.com \
--to=sgniazdowski@gmail.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).