mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-18 20:53:40 +08:00
6d28845c2b
This is fairly subtle. When installable, and we either can't find the version file or it is outdated, we ask the user to confirm installation (just like `--install`). We do that only if we are really truly interactive (with a tty!) to avoid `fish -c` running into problems. This check could be tightened even more, because currently: ```fish fish -ic 'echo foo' ``` asks, while ```fish fish -ic 'echo foo' < /dev/null ``` does not. `fish -c` will still error out if it can't find the config, but it will just run if it is out of date. |
||
---|---|---|
.. | ||
cmds | ||
python_docs_theme | ||
commands.rst | ||
completions.rst | ||
conf.py | ||
contributing.rst | ||
design.rst | ||
faq.rst | ||
fish_for_bash_users.rst | ||
fish_indent_lexer.py | ||
fish_synopsis.py | ||
index.rst | ||
interactive.rst | ||
language.rst | ||
license.rst | ||
prompt.rst | ||
relnotes.rst | ||
tutorial.rst |