DEV Community

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

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