fish-shell/tests
Johannes Altmanninger 45e7c709f4 Consolidate complete cycle detection and always report error on cycle
Detect recursive calls to builtin complete and the internal completion in
the same place.

In 0a0149cc2 (Prevent infinite recursion when completion wraps variable assignment)
we don't print an error when completing certain aliases like:

	alias vim "A=B vim"

But we also gave no completions.
We could make this case work, but I think that trying to salvage situations
like this one is way too complex. Instead, let the user know by printing an
error. Not sure if the style of the error fits.

We could add some heuristic to alias to not add --wraps in some cyclic cases.
2020-09-26 14:56:03 +02:00
..
checks Consolidate complete cycle detection and always report error on cycle 2020-09-26 14:56:03 +02:00
pexpects Make history search smartcase 2020-09-22 16:13:24 +02:00
test_functions Resurrect one last function 2020-03-17 21:58:49 +01:00
.gitignore tweak gitignore rules for *tests* directory 2017-02-20 20:29:43 -08:00
history_sample_bash Do import bash history commands containing && or || 2019-11-07 23:33:35 +01:00
history_sample_corrupt1 Improve history robustness against corrupt files 2014-07-29 14:42:03 -07:00
history_sample_fish_1_x Support for importing fish 1.x's history and format, and also bash 2012-06-15 16:24:05 -07:00
history_sample_fish_2_0 Support for importing fish 1.x's history and format, and also bash 2012-06-15 16:24:05 -07:00
interactive.config remove some uses of $IFS 2017-07-25 12:44:26 -07:00
interactive.fish tests: Use status dirname 2020-06-14 19:30:03 +02:00
test.fish tests: Export $TERM 2020-09-06 11:15:54 +02:00
test_util.fish Use set -l to force use of a local variable 2020-05-15 08:25:07 +02:00