mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 06:05:39 +08: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
6 lines
220 B
Fish
6 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
|