aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/fish_mode_prompt.fish
Commit message (Collapse)AuthorAge
* Implement lowercase-r replace in fish_vi_modeGravatar ridiculousfish2015-07-20
| | | | Fixes #1595
* Rework how the mode is reported in fish_vi_modeGravatar ridiculousfish2015-06-14
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.