Skip to content

Commit

Permalink
fix: Remove quotes for rc in template (evilmartians#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox committed Dec 14, 2022
1 parent 00107c7 commit b376e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/templates/hook.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ fi
{{- if .Rc}}
{{/* Load rc file and export all ENV vars defined in it */}}
set -a
[ -f '{{.Rc}}' ] && source '{{.Rc}}'
[ -f {{.Rc}} ] && source {{.Rc}}
{{- end}}

call_lefthook()
Expand Down

0 comments on commit b376e43

Please sign in to comment.