SHELLOPTS

在启动时提供了一个只读的 bash 选项列表来控制它的行为:

~> $ echo $SHELLOPTS
braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor