mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-30 14:53:11 +00: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.
3 lines
171 B
Text
3 lines
171 B
Text
-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
|