>This article will teach you how to create and use these four types of aliases
>You have seen four different types of ZSH aliases that will boost your productivity
`four` in these two lines is typo or intentional? Because the title says `5 Types Of ...`
Re:ZSH Aliases
by thorstenhans on Tuesday May 26, 2020 @08:19AM
(#23310181)
thanks for the feedback. I've updated the corresponding parts
This caught my attention too. A cursory search of the zsh docs don't mention functions being a type of alias. In particular:
> The registration of aliases with parameters looks pretty similar to a function definition in regular programming languages.
Well that's because it is a function definition in this programming language, no?
Furthermore, this breaks down when you, say, use `alias` to view all your aliases. It won't show the functions, because they are not aliases.
However, the os-specific aliases became more and more important to me due to GitHub and VisualStudio Codespaces. Targeting different operating systems is quite important to me.
But technically it's just a regular alias. (Which is also mentioned in the corresponding paragraph)