Skip to content

Instantly share code, notes, and snippets.

@bdougherty
Last active Apr 1, 2022
Embed
What would you like to do?
Play the Benny Hill theme song while installing npm modules

Add the function somewhere to your dotfiles. Works better if you npm install -g benny-hill first.

function npm() {
if [[ "$1" == "i" ]] || [[ "$1" == "install" ]]; then
npx benny-hill npm "$@"
return
fi
command npm "$@"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment