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

@ -21,7 +21,7 @@ if command diff --color /dev/null{,} &>/dev/null; then
fi
# Don't set ls coloring if disabled
[[ "$DISABLE_LS_COLORS" != true ]] || return 0
[[ "${DISABLE_LS_COLORS:-}" != true ]] || return 0
# Default coloring for BSD-based ls
export LSCOLORS="Gxfxcxdxbxegedabagacad"