fish-shell/share/tools/web_config
Johannes Altmanninger 55bc6a27c6 Make prompts forward compatible with fish 3.1.2 by passing locally exported variable
Commit 5d135d555 (prompts: fix pipestatus for jobs prefixed with "not")
introduced a backwards compatibility hack about adding an optional argument
to __fish_print_pipestatus. This hack would break downgrading to fish 3.1.2
if the user copied the new prompt to their config - they would get a backtrace
on every prompt which is arguably worse than the patch's minor improvement.

This does away with the error trace - old fish just won't show the fancy
new pipestatus on `not true`.

Implemented by passing the last $status as the poor man's kwarg, which works
since 3.1.0 (9b86d5dd1 Export all local exported variables in a new scope).

The prompts don't work with fish 3.0.0 or older; downgrading does not seem
too important in general but I think this patch is an okay simplification.
2020-09-05 09:58:55 +02:00
..
js fish_config: 'Webify' color definitions 2020-07-11 13:51:52 -07:00
partials fish_config: 'Webify' color definitions 2020-07-11 13:51:52 -07:00
sample_prompts Make prompts forward compatible with fish 3.1.2 by passing locally exported variable 2020-09-05 09:58:55 +02:00
delete.png Lossless recompress of images with pngcrush+zopfli 2016-06-18 10:03:26 -07:00
favicon.png Add favicon for web config 2015-07-12 15:06:56 -07:00
fishconfig.css Fix fish_config rendering brights as normal on prompt previews 2019-01-21 13:59:36 -08:00
index.html WIP Update angular to something from after the stoneage 2020-07-06 20:10:01 +02:00
webconfig.py Webconfig: Run prompts one at a time if necessary 2020-08-31 16:50:07 +02:00