git pug
I am an idiot who subconciously likes pugs, so I often type git pug
instead of git push
or git pull
. Is this truly a problem?
Note if I execute the following:1
npm install pugme -g
Then place this in my ZSH aliases file:1
2
3
4
5
6
7git() {
if [[ $@ == "pug" ]]; then
command pugme
else
command git "$@"
fi
}
Which results in