mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-08 10:51:15 -03:00
doc: faq: avoid overwriting config.fish.
In FAQ:
> I'm seeing weird output before each prompt when using screen. What's wrong?
The command provided is
echo 'function fish_title;end' > ~/.config/fish/config.fish
Using `>` will overwrite current config.fish.
We should use `>>` instead.
This commit is contained in:
committed by
ridiculousfish
parent
9b5026f7e5
commit
cec1dc2095
@@ -162,7 +162,7 @@ Quick answer:
|
|||||||
Run the following command in fish:
|
Run the following command in fish:
|
||||||
|
|
||||||
\fish{cli-dark}
|
\fish{cli-dark}
|
||||||
echo 'function fish_title;end' > ~/.config/fish/config.fish
|
echo 'function fish_title;end' >> ~/.config/fish/config.fish
|
||||||
\endfish
|
\endfish
|
||||||
|
|
||||||
Problem solved!
|
Problem solved!
|
||||||
|
|||||||
Reference in New Issue
Block a user