Today I found that variable '$-' is a random string, but I don't know what it stands for.
➜ ~ echo $-
569JNRTXZghikms
And I can't change the value:
➜ ~ -='sss'
zsh: command not found: -=sss
➜ ~
And, in a docker it was:
➜ ~ docker run --rm -ti ubuntu
root@7084255fd54e:/# echo $-
himBH
Or:
➜ ~ docker run --rm -ti alpine ash
/ # echo $-
smi
Does it's value related to the system?