mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 20:31:19 -03:00
fish_config: adjust output
Do not show an error on `fish_config prompt save` after removing a `fish_right_prompt`
This commit is contained in:
@@ -123,7 +123,7 @@ function fish_config --description "Launch fish's web based configuration"
|
|||||||
funcsave fish_prompt
|
funcsave fish_prompt
|
||||||
or return
|
or return
|
||||||
|
|
||||||
funcsave fish_right_prompt
|
funcsave fish_right_prompt 2>/dev/null
|
||||||
return
|
return
|
||||||
else
|
else
|
||||||
echo Not overwriting
|
echo Not overwriting
|
||||||
|
|||||||
Reference in New Issue
Block a user