Files
fish-shell/tests/checks/no-config.fish

16 lines
353 B
Fish
Raw Normal View History

#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 -q fish_function_path[2]
and echo fish_function_path has two elements