fish-shell/tests/expansion.out
ridiculousfish f4d666f56c Allow user to set and unset path property of variables
This adds flags --path and --unpath to builtin set, analogous to
--export and --unexport. These flags change whether a variable is
marked as a path variable.

Universal variables cannot yet be path variables.
2018-10-19 17:39:21 -07:00

85 lines
941 B
Plaintext

1
0
1 prefix
0
1
0
1 prefix
0
1
1
1 prefix
1 prefix
1
0
1 prefix
0
1
0
1 prefix
0
1 baz
1 baz
1 prefixbaz
1 prefixbaz
1 baz quux
2 baz quux
1 prefixbaz quux
2 prefixbaz prefixquux
1 baz quux fooer fooest
2 baz quux
1 prefixbaz quux fooer fooest
2 prefixbaz prefixquux
3 baz quux
3 prefixbaz prefixquux prefix
1 baz quux fooest
2 baz quux
1 prefixbaz quux fooest
2 prefixbaz prefixquux
0
2 fooest
0
0
2 fooest
0
0
# foo =
1
0
1
0
1
0
1
0
1
0
# foo = a b c
0
0
0
0
# foo = a
0
####################
# Percent self
%selfNOT NOT%self %self %self %self
All digits: 0
####################
# Catch your breath
####################
# Test tilde expansion
####################
# Test path variables
TEST_DELIMITER: one two three one two three
TEST_DELIMITER_PATH: one two three one:two:three
Not a path: ONE:TWO:THREE 1
As a path: ONE:TWO:THREE 3
Appended path: ONE:TWO:THREE:FOUR 4
Back to normal variable: ONE TWO THREE FOUR 4