mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00:00
30b2dc2b97
This can easily lead to an infinite loop, if a variable handler triggers a repaint and the variable is set in the prompt, e.g. some of the git variables. A simple way to reproduce: function fish_mode_prompt commandline -f repaint end Repainting executes the mode prompt, which triggers a repaint, which triggers the mode prompt, .... So we just set a flag and check it. Fixes #7324. |
||
---|---|---|
.. | ||
checks | ||
pexpects | ||
test_functions | ||
.gitignore | ||
history_sample_bash | ||
history_sample_corrupt1 | ||
history_sample_fish_1_x | ||
history_sample_fish_2_0 | ||
interactive.config | ||
interactive.fish | ||
test.fish | ||
test_util.fish |