Skip to content

I just installed the zsh plugin, and `gitmoji-fuzzy-hook-init: command not found`

because I thought that running those two lines was too much, I made a simple script to do it, but now it throws gitmoji-hook.sh: line 8: gitmoji-fuzzy-hook-init: command not found.

#!/bin/sh

if [ ! -d "./.git/" ]; then
  echo "run script at the root of the repository you want to implement the hook into"
  exit 1
fi

gitmoji-fuzzy-hook-init >> ./.git/hooks/prepare-commit-msg
chmod +x ./.git/hooks/prepare-commit-msg
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information