I tried to create alias for argument by putting this code into .bashrc
alias malog="/Applications/MAMP/logs/apache_error.log"
And I tied to call it with different commands, like:
tail -f malog
vim malog
But it didn't work. I know that I can write alias that will work like:
alias tmalog="tail -f /Applications/MAMP/logs/apache_error.log"
alias vmalog="vim /Applications/MAMP/logs/apache_error.log"
...
But, maybe there is a way to create alias for argument/parameter?