💡

Alias Tips ZSH

A ZSH plugin that reminds you that there are shorter aliases for your command.

dmitmel
|
63 stars
6 forks

alias-tips-zsh

A pure-ZSH re-implementation of the excellent alias-tips plugin.

It works by trying to find a shell-defined alias for the command you are currently executing and printing a help line reminding you about that alias.

Example

$ alias gc='git commit'
$ alias gca='git commit --all'

$ git commit
Alias tip: gc

$ gc --all
Alias tip: gca

Limitations

  • Suffix and global aliases are not supported. Only prefix aliases ("command position") are supported. Check the Zsh manual on alias for their definition.