Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed May 21, 2023
1 parent f73b84b commit 8b075ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions husky.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ if [ -z "$husky_skip_init" ]; then
export husky_skip_init

if [ "$(basename -- "$SHELL")" = "zsh" ]; then
debug "running zsh"
ENV="$HOME/.zshrc" zsh --emulate sh -i -e "$0" "$@"
else
debug "running sh"
sh -i -e "$0" "$@"
fi
exitCode="$?"
Expand Down

0 comments on commit 8b075ef

Please sign in to comment.