mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 02:23:36 +08: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:
parent
9b5026f7e5
commit
cec1dc2095
@ -162,7 +162,7 @@ Quick answer:
|
||||
Run the following command in fish:
|
||||
|
||||
\fish{cli-dark}
|
||||
echo 'function fish_title;end' > ~/.config/fish/config.fish
|
||||
echo 'function fish_title;end' >> ~/.config/fish/config.fish
|
||||
\endfish
|
||||
|
||||
Problem solved!
|
||||
|
Loading…
x
Reference in New Issue
Block a user