mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 05:53:59 +00:00
05ef157757
If you use these to figure out if there _are_ staged files, or dirty or whatever, you currently need to check the output, which relies on the configured character. Instead, we let them also return a useful status. Notably, this is *not* simply the status of the git call. __fish_git_prompt_X returns 0 if the repo is X. This works for untracked, but the "diff" things return 1 if there is a diff, so we invert the status for them. See #5748. [ci skip] |
||
---|---|---|
.. | ||
completions | ||
functions | ||
groff | ||
tools | ||
__fish_build_paths.fish.in | ||
config.fish | ||
lynx.lss |