Typo: I think you missed the point here.. (or maybe I'm missing yours, I'm really tired right now..)
this snippet isn't meant to be an alias or something. it's just a little bit of code to use in a script yourself. This might have caused the bracket mismatches.
I found out about the comments... I should have known that.
I use the /'s in front of my commands anyways, since I'm used to that, and adds readability, imho.
correct me if I'm wrong :_)