Environment
$ fish --version
fish, version 3.4.1
$ echo $version
3.4.1
$ uname -a
Darwin Mingliangs-MacBook-Pro-M1-Max.local 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:46:32 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T6000 arm64
$ echo $TERM
xterm-256color
Problem
Running following commands, I got "true". I expect "false".
$ sh -c 'env HOME=$(mktemp -d) fish'
$ true
$ false; echo $history[1]
true
Environment
Problem
Running following commands, I got "true". I expect "false".