fish-shell/share/functions/fish_mode_prompt.fish
Cristian Prieto 6f9f7632f3 Added default mode prompt function (#3727)
* Added new function for the default prompt mode

Now fish mode prompt will call fish_default_mode_prompt, this will solve #3641

* Added function description

* Change wording for documentation about default mode prompt

* Finish changes requested in code review
2017-01-12 16:07:41 +01:00

5 lines
220 B
Fish

# The fish_mode_prompt function is prepended to the prompt
function fish_mode_prompt --description "Displays the current mode"
# To reuse the mode indicator use this function instead
fish_default_mode_prompt
end