Problems with bash scripting

view full story

http://unix.stackexchange.com – I'm trying to setup an alias in my .bashrc file, but it's not working as expected. I have this alias which works: alias lolcat='python /home/martyn/Dropbox/Applications/Scripts/logcat-viewer/unixcoloredlogcat.py' and I normally use this command as such: adb logcat SomeValue:* *:e | lolcat But I want to put that in to an alias so that I can write: logcat SomeValue but my alias below isn't working - it seems that the $1 isn't coming through - can anyone help me fix this? alias logcat="adb lolcat $1:* *:E | lolcat" (HowTos)