✨〰️ ZI 〰️✨ Nickname a plugin or snippet
❮ ZI ❯ 🧙♀️ A Swiss Army Knife for Zsh.
Designed to glue everything together. 🔗
✴️ ZI 🧙♀️ supports
loading a plugin or snippet with a NICK-NAME. Set the nickname through the new
For example, one could try to load
docker/compose from GitHub binary releases :
✴️ This registers plugin under ID
docker/compose. Now the user could want to load a completion from GitHub repository (not the binary release catalog) also called
docker/compose. The two IDs, both being docker/compose , will collide. The user can however resolve the conflict via
id-as'' ice-mod by loading the completion under a nick-name
✴️ The completion is now seen under ID
zi report dc-completion works, so as other ZI commands:
✴️ This can be also used to nickname snippets.
For example, you can use this to create handlers in place of long urls:
zi delete git-unique will work,
zi times will show
git-unique instead of the URL, etc.
Originally published at https://dev.to on June 5, 2022.