Zsh Suffix Aliases
Suffix aliases will match file suffixes.
The following opens vscode when you enter any .md filename:
alias -s md=code
The following will run git clone for any .git repository pasted into the command line:
alias -s git="git clone"