Contents
1. Invocation Option i
force the shell into Interactive Mode
[[ $- =~ i ]] will return true
[[ ${PS1+set} = 'set' ]] will return true
Contents
force the shell into Interactive Mode
[[ $- =~ i ]] will return true
[[ ${PS1+set} = 'set' ]] will return true