I'm looking for a way to make the following alias work for any file name.
alias dim='cd /home/jason/Documents; vim *the desired file*; cd'
I'm wondering if there is a way I could change this alias to make it so that I could type in any file name as such:
dim *the desired file*
And still get the same result. Basically is there a way to call whatever is typed after the alias name into the alias itself? Something like:
alias dim='cd /home/jason/Documents; vim <what is typed after alias>; cd'