womack.io

  • Home
  • Archives
2015-01-26 James J. Womack

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
7
git() {
if [[ $@ == "pug" ]]; then
command pugme
else
command git "$@"
fi
}

Which results in

  • git, zsh, pug, pugme, npm
Newer
Capitalization of modules in Node.js
Older
Harmonious Node.js

womack.io

© 2023 James J. Womack
Modified from the Apollo theme, designed by SANOGRAPHIX.NET
Powered by Hexo