Skip to content

Commit

Permalink
fix: typo in sourcing ~/.huskyrc
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Jan 29, 2024
1 parent 800fbf1 commit 04d7407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion husky.sh
Expand Up @@ -6,7 +6,7 @@ s="${0%/*/*}/$h"

[ ! -f "$s" ] && exit 0

for f in "${XDG_CONFIG_HOME:-$HOME/.config}/husky/init.sh" "$HOME/.huskyrc.sh"; do
for f in "${XDG_CONFIG_HOME:-$HOME/.config}/husky/init.sh" "$HOME/.huskyrc"; do
# shellcheck disable=SC1090
[ -f "$f" ] && . "$f"
done
Expand Down

0 comments on commit 04d7407

Please sign in to comment.