Shell integration: Improvements for fish integration

Move the completion function to the autocomplete script.
Fix some issues with cursor shape setting, respect user configuration.
Functions and vars start with two underscores, following the convention.
Other minor refactoring.
This commit is contained in:
pagedown
2022-01-19 00:26:54 +08:00
parent 85eedb96ac
commit c5e8a36f9b
3 changed files with 67 additions and 82 deletions

View File

@@ -68,6 +68,8 @@ no-prompt-mark
no-complete
Turn off completion for the kitty command.
Note that for the ``fish`` shell this does not take effect, since fish
already comes with a kitty completion script.
More ways to browse command output