mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
1e858eae35
This demonstrates that we only write control sequences when interactive.
16 lines
445 B
Fish
16 lines
445 B
Fish
#RUN: %fish --no-config %s
|
|
|
|
functions | string match help
|
|
# CHECK: help
|
|
|
|
# Universal variables are disabled, we fall back to setting them as global
|
|
set -U
|
|
# CHECK:
|
|
set -U foo bar
|
|
set -S foo
|
|
# CHECK: $foo: set in global scope, unexported, with 1 elements
|
|
# CHECK: $foo[1]: |bar|
|
|
|
|
set -S fish_function_path fish_complete_path
|
|
# CHECK: $fish_function_path: set in global scope, unexported, with 1 elements
|
|
# CHECK: $fish_function_path[1]: |{{.*}}|
|