fish-shell/doc_src
Fabian Boehm 6d28845c2b Automatically attempt to install
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.
2024-12-13 19:19:26 +01:00
..
cmds Automatically attempt to install 2024-12-13 19:19:26 +01:00
python_docs_theme Fix kbd tag HTML rendering 2024-09-28 18:00:02 +02:00
commands.rst docs: add short documentation for export 2024-11-06 23:47:31 +08:00
completions.rst docs: Some rewording on completions 2024-05-10 17:40:18 +02:00
conf.py docs: Read version from the version file 2024-12-06 22:12:26 +01:00
contributing.rst Improve CONTRIBUTING and add it to the docs 2023-06-01 18:09:02 +02:00
design.rst docs: Fix typos 2022-09-17 21:31:06 +08:00
faq.rst docs/faq: Fix some broken keys 2024-11-21 18:28:43 +01:00
fish_for_bash_users.rst fish_for_bash_users: Put explanation on subshells first 2024-05-15 22:44:07 +02:00
fish_indent_lexer.py docs: restore default highlighting keywords and options in HTML 2022-01-16 14:07:19 +01:00
fish_synopsis.py Document the ! (not) and . (source) aliases more 2024-04-20 13:34:08 +02:00
index.rst docs: Some slight rewordings 2023-08-23 23:08:56 +02:00
interactive.rst Remove stale docs about fish_vi_force_cursor 2024-10-21 21:53:32 +02:00
language.rst doc: expand &| reference to full example (#10885) 2024-12-04 20:13:00 +01:00
license.rst docs: Remove broken indents in license 2024-08-15 17:48:48 +02:00
prompt.rst docs/prompt: Add funcsave/funced 2024-09-15 09:39:13 +02:00
relnotes.rst docs: call the CHANGELOG "release notes" 2021-02-25 22:46:24 +08:00
tutorial.rst docs: Fix two links 2024-06-22 14:58:07 +02:00