diff --git a/foxshell.zsh b/foxshell.zsh index e79e8b5..314b72b 100644 --- a/foxshell.zsh +++ b/foxshell.zsh @@ -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