djui / alias-tips

An oh-my-zsh plugin to help remembering those aliases you defined once
781 stars 51 forks source link

Add option to reveal aliased command #44

Closed I60R closed 6 years ago

I60R commented 6 years ago

The final result is demonstrated at the following gif:

In addition some README tweaks are included.

Early return added to _alias_tips__preexec to avoid unnecessary computation when alias is invoked and no need to expand it further

pradyunsg commented 6 years ago

Hey @I60R! Thanks for this PR. :)

I like the idea here but I'm not sure how useful it is to me. If you find it useful, it looks simple enough to bring it in. :P

I feel the reveal should have a different default reveal text up front, instead of "Alias for: ". I do see that it's configurable.

djui commented 6 years ago

Thanks for the contribution! 🙇‍♂️