aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test3.in
Commit message (Collapse)AuthorAge
* Rename sgrep to __fish_sgrepGravatar Fabian Homborg2015-09-09
| | | | Makes it harder to cause issues with aliases, see fish-shell#2245
* Correctly un-export an env var when it is shadowedGravatar ridiculousfish2015-06-12
| | | | | | | | | | | | | | | | Prior to this fix, if you exported a variable in one scope and then unexported it in the next, it would remain exported. Example: set -gx VAR 1 function foo; set -l VAR; env; end foo Here 'VAR' would be exported to 'env' because we failed to notice that the env var is shadowed by an unexported variable. This occurred at env var computation time, not in env_set! Fixes #2132
* Recalculate exported variables when universal variable is erasedGravatar ridiculousfish2015-04-29
| | | | Fixes #2046
* Properly fire events for universal variable changesGravatar ridiculousfish2015-02-03
| | | | Fixes #1929
* Change how arrays and environment variables interact.Gravatar ridiculousfish2014-10-12
| | | | | | | | | | | | Prior to this change, inherited environment variables would be split on colons, becoming an array. This change eliminates that behavior. Now environment variables are always split on the record separator character (ASCII 0x1e), with the exception of a short whitelist of PATH, MANPATH, CDPATH. Likewise, exported variables are also exported delimited by rs, with the exception of the above whitelist. Fixes #1374, also see #1656
* Fix test breakage from 14724401fGravatar Kevin Ballard2014-10-07
| | | | | | | | We can't use $PATHS to test the :-splitting because the global config file adds extra paths based on /etc/paths and /etc/paths.d. Ideally fish would have a way to suppress behavior like that, but for the time being it doesn't.
* env.cpp: correctly check variable_can_be_arrayGravatar David Adam2014-10-08
| | | | Closes #1746.
* Decrement SHLVL when running `exec`Gravatar Kevin Ballard2014-09-19
| | | | | | | | | | | `exec` removes fish from the shell "stack", so SHLVL needs to be decremented to match. This means `exec fish` will result in the same SHLVL in the new fish instance. Also tweak the SHLVL logic to interpret an environment SHLVL of "3foo" as garbage instead of as the value "3". Fixes #1693.
* Fix $SHLVLGravatar Kevin Ballard2014-08-29
| | | | | Due to being read-only, SHLVL wasn't being incremented properly for recursive invocations of fish.
* Switch variable name in tests from foo to something less likely to beGravatar ridiculousfish2014-07-06
| | | | used accidentally
* Add test for issue 1526Gravatar ridiculousfish2014-07-06
|
* really fix bug in export status of universal vars; add tests for that bugGravatar Jan Kanis2013-01-02
|
* Fix for longstanding bug where set -e would fail to erase elements from an ↵Gravatar ridiculousfish2012-05-10
| | | | | | array. This was introduced in 7b3377e78c16b3ba74edb141ca0dd2ec895806b9
* remove trialing spaces #2Gravatar Grissiom2010-09-18
|
* Do not test universal variable functionality since it relies on fish to be ↵Gravatar axel2006-07-19
| | | | | | installed darcs-hash:20060718173711-ac50b-1feae98c4c283bfa5bbc8dfedec3eb4641316a8d.gz
* Updates, bugfixing and minor edits on the test suiteGravatar axel2006-06-05
| | | | darcs-hash:20060605133133-ac50b-e2ee5868f9f3ede147c7059d90c0f520ed905a5f.gz
* Fix broken regression test (irony?)Gravatar axel2005-10-02
| | | | darcs-hash:20051002134406-ac50b-d9d3c94eb08ecd05be1a4e128ca08d9d3ae53978.gz
* Minor fix in testsuiteGravatar axel2005-09-28
| | | | darcs-hash:20050927174025-ac50b-554f6bf9aefc2da0b5a40baebb44bcd02a933704.gz
* Update testsuite to reflect new variable scoping rulesGravatar axel2005-09-27
| | | | darcs-hash:20050927083554-ac50b-80f5fcb0022416a80eb8d3aa673282a2c67d4dd4.gz
* Fix regression bug in regression test suiteGravatar axel2005-09-27
| | | | darcs-hash:20050926141136-ac50b-864add3824c34e96ad56bc0e92537196992692b0.gz
* Add subdirectoriesGravatar axel2005-09-20
darcs-hash:20050920133155-ac50b-9a14c6c664dd03afbe8e15e7c7998fcfb5c3c750.gz