4 ms·
Oh wow, I thought only function could take parameters ! It must be relatively recent because old those old answers do not mention it : https://stackoverflow.co
by cassepipe 2y ago
Oh wow, I thought only function could take parameters !
It must be relatively recent because old those old answers do not mention it :
https://stackoverflow.com/questions/7131670/make-a-bash-alias-that-takes-a-parameter https://stackoverflow.com/questions/7131670/make-a-bash-alia...
https://stackoverflow.com/questions/34340575/zsh-alias-with-parameter https://stackoverflow.com/questions/34340575/zsh-alias-with-...
On the other hand I tested it in both bash and zsh, and it works in both