fix: allow running with nounset option

This commit is contained in:
Daniel McCormack 2026-04-21 11:42:58 +12:00
commit 1902a0544c
8 changed files with 15 additions and 15 deletions

View file

@ -1,4 +1,4 @@
if [[ "$ENABLE_CORRECTION" == "true" ]]; then
if [[ "${ENABLE_CORRECTION:-}" == "true" ]]; then
alias cp='nocorrect cp'
alias man='nocorrect man'
alias mkdir='nocorrect mkdir'