mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
6f9f7632f3
* 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
5 lines
220 B
Fish
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
|