mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 08:07:22 +08:00
eb8b92fce7
Some more of the invocations are tested in this change: - bad switches - errors in configuration files - regular command, configuration and init command ordering - persistence of variables over command invocation. - interactive and login switch use - terminal exit code return - version request There are sure to be other invocations that should be tested, but these give a fair number of them a go.
4 lines
171 B
Plaintext
4 lines
171 B
Plaintext
-c 'if status --is-login ; echo login shell ; else ; echo not login shell ; end'
|
|
-c 'if status --is-interactive ; echo interactive ; else ; echo not interactive ; end'
|
|
-i
|