This is just a tiny note for me or anybody else who needs a hint into the right direction. I looked for a way to add a parameter to my alias and I got stuck. A few days later I found a simple solution, use a function instead of an alias.

alias ar =git add remote gitserver:private/

Won't work, because parameters are added after that including the space, but

ar() { git add remote gitserver:private/$1 }

works perfect.

Have a nice day.

alias function unix zsh

This is my new blog. It may contain interesting thins, or not. The articles may cover some of the following topics: parenting, coding, vim, infrastructure, public transport troubles, gadgets, recipes, ...

Who I am

I am a software developer, housband and father who likes to learn new stuff. I like food, cooking, gadgets. I love my daughter and my wife. I live and work in Munich. And I really love that city.


Social Networks

Well a few weeks ago I decided to quit nearly all the social networks. They produce a lot of white-bread information I do not take care of. But somehow you read your "streams" multiple times a day so you don't miss the one of a thousand news you are interested in. That's the reason I quit.

Contact me