Kevin Ballard
940f264ee6
Decrement SHLVL when running exec
...
`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 .
2014-09-19 17:38:54 -07:00
Kevin Ballard
130619d6b0
Fix $SHLVL
...
Due to being read-only, SHLVL wasn't being incremented properly for
recursive invocations of fish.
2014-08-29 12:22:35 -07:00
ridiculousfish
b19f45e15d
Add test for issue 1526
2014-07-06 18:12:18 -07:00
Jan Kanis
9ee7b0a501
really fix bug in export status of universal vars; add tests for that bug
2013-01-02 23:31:30 -08:00
ridiculousfish
39863ce4d7
Fix for longstanding bug where set -e would fail to erase elements from an array.
...
This was introduced in 7b3377e78c
2012-05-10 01:04:18 -07:00
axel
bef7fff383
Do not test universal variable functionality since it relies on fish to be installed
...
darcs-hash:20060718173711-ac50b-1feae98c4c283bfa5bbc8dfedec3eb4641316a8d.gz
2006-07-19 03:37:11 +10:00
axel
20e5d298a0
Updates, bugfixing and minor edits on the test suite
...
darcs-hash:20060605133133-ac50b-e2ee5868f9f3ede147c7059d90c0f520ed905a5f.gz
2006-06-05 23:31:33 +10:00
axel
7ddecde543
Add subdirectories
...
darcs-hash:20050920133155-ac50b-9a14c6c664dd03afbe8e15e7c7998fcfb5c3c750.gz
2005-09-20 23:31:55 +10:00