mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-04 17:23:52 +08:00
4 lines
225 B
Fish
4 lines
225 B
Fish
|
#RUN: %fish -c 'if status --is-login ; echo login shell ; else ; echo not login shell ; end; if status --is-interactive ; echo interactive ; else ; echo not interactive ; end' -i
|
||
|
# CHECK: not login shell
|
||
|
# CHECK: interactive
|