DEV Community

loading...

Discussion on: Reveal the command behind an alias with ZSH

Collapse
defman profile image
Sergey Kislyakov πŸ‡·πŸ‡Ί πŸ‡ΊπŸ‡Έ

Just FYI, fish shell does that by default in a more interesting manner: it actually expands the command. So if you type e.g. ll and press space, fish would replace ll with ls -lh.

Collapse
equiman profile image
Camilo Martinez Author

Nice idea, I found a way to do it on ZSH adding the Globalias plugin.