mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-08 02:34:15 +08:00
![Cristian Prieto](/assets/img/avatar_default.png)
* 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
|