diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2015-06-04 13:31:48 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2015-06-14 11:36:11 -0700 |
commit | 767742c7e7ee53c8aa7950f928d551c63d69448f (patch) | |
tree | 600a9090d1c5dd699170bf2b348e551c2f2f6287 /share/tools | |
parent | 0ddd0ed4fbee08429c215946ca4dd19cd3e56a63 (diff) |
Rework how the mode is reported in fish_vi_mode
Add a new function fish_mode_prompt which (if it is defined) has its output
prepended to the left prompt. Rather than replacing the prompt wholesale, make
fish_vi_mode enable this function by setting a variable __fish_vi_mode. This
enables vi mode to interoperate nicely with custom prompts. Users who want
to change how the mode is reported can either redefine this function or
erase it entirely. Fixes #1988.
Diffstat (limited to 'share/tools')
0 files changed, 0 insertions, 0 deletions