Re:Why “alias” is my last resort for aliases
by BenjiWiebe on Wednesday March 05, 2025 @01:55PM
(#43270662)
Some distros use an alias which pipes all the aliases into 'which', which has a flag that supports reading aliases from stdin.
Fedora does it. It's very convenient.
`type` is a builtin on both fish and bash though, and does resolve aliases.
[edit] TIL: `zsh` has its own `which`.