I'm using the zsh shell on ArchLinux and I want to know if there's an easy way to make "advanced" aliases.
Normal aliases work just fine. However I can't find a way to create an alias for a substitution like:
git clone git@home:some-repo.git
git clone firstname.lastname@example.org:repositories/some-repo.git
Is there any simple way at all to do this directly in zsh with alias (or something similar)? Of course it should be generic so I don't need and alias for every git action on every repository.
Thanks in advande!