#!/usr/bin/env bash cd $(git rev-parse --git-dir) echo "Installing hooks..." ln -s ../.githooks hooks echo "Done!"