jorgebucaran / fisher

A plugin manager for Fish
https://git.io/fisher
MIT License
7.55k stars 257 forks source link

Restore default mode prompt after removing a plugin that overrides fish_mode_prompt #638

Closed jorgebucaran closed 3 years ago

jorgebucaran commented 3 years ago

The default is always in $__fish_data_dir/functions/fish_mode_prompt.fish. Just source it.

edouard-lopez commented 3 years ago

Also I don't think that's the responsibility of the plug-ins manager to backup/restore states.

jorgebucaran commented 3 years ago

Agreed. A solution for #624 will likely improve the situation here as well. Prompts could also handle this using the event system. Closing.