Fix syntax error: unmatched quote in trap command

This commit is contained in:
Arctic 2025-07-04 12:05:01 -05:00
parent 2b6ea4f5a3
commit 652c9dee33

View file

@ -261,7 +261,7 @@ if '[' '-n' "${_foxshell_bootstrap-}" ']'; then
tmpdir="$('command' 'mktemp' '-d' "$FOXSHELL"/tmp.XXXXXXXXXX)" || 'exit'
'command' 'chmod' 'go-rwx' '--' "$tmpdir" || 'exit'
'set' '-E'
'trap' ''command' 'rm' '-rf' '--' "$tmpdir"; 'exit' '1' 'ERR'
'trap' 'command rm -rf -- "$tmpdir"; exit 1' 'ERR'
'set' '+E'
dir="$FOXSHELL"/foxshell