kiliantyler / zinit-annex-alias

A z-shell annex to set an alias for a bin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Caution

This annex is not released by the zdharma-continuum/zinit team.

❮ zinit ❯ Annex - Alias

An Annex that allows you to set an alias for a bin installed with bin-gem-node


💡 Wiki: alias - annexes - bin-gem-node

Install

Simply load like a regular plugin, i.e.:

zinit light kiliantyler/zinit-annex-alias

This installs the annex and makes the alias'' ice available.

You can use this annex supplimentarily with bin-gem-node fbin'' and sbin'' ices.

For example to install eza as eza as well as alias it to ls:

zinit as'null' from"gh-r" sbin'**/eza' alias'ls' for \
  kiliantyler/eza-releaser

This allows builtins and default commands to be aliased while still allowing \command ls to work as expected. If you have eza installed via sbin'**/eza -> ls' or fbin'**/eza -> ls' running command ls will still run eza.


Note

This repository compatible with zinit

About

A z-shell annex to set an alias for a bin

License:Other


Languages

Language:Shell 100.0%