Maybe better if instead of an alias you wrote a short bash script that could take an argument for the filetype? Something like (call it vimtype).
vim - -c "set syntax=$1"
git show branch_name:/path/to/file.py | vimtype python
Just a thought
I like it, cool idea too! Thanks.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.