aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Alexey Alekhin <laughedelic@gmail.com>2016-05-07 02:05:37 +0200
committerGravatar Kurtis Rader <krader@skepticism.us>2016-05-06 18:47:57 -0700
commit01e5ca5c9679b8745f660469afc1995c3c44f3fd (patch)
treea474e43dc761a5fd14bfc3d68284ba70fda9e08e
parent28228627fc4f8954410a22b00546b2b367ae846e (diff)
Changed the code to add fish to /etc/shells to the one that is mentioned in the Readme
-rw-r--r--doc_src/faq.hdr4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc_src/faq.hdr b/doc_src/faq.hdr
index abbedb8b..bc549ee5 100644
--- a/doc_src/faq.hdr
+++ b/doc_src/faq.hdr
@@ -136,10 +136,10 @@ The `open` command uses the MIME type database and the `.desktop` files used by
<hr>
\section faq-default How do I make fish my default shell?
-If you installed fish manually (e.g. by compiling it, not by using a package manager), you first need to add fish to the list of shells by executing the following command (assuming you installed fish in /usr/local) as root:
+If you installed fish manually (e.g. by compiling it, not by using a package manager), you first need to add fish to the list of shells by executing the following command (assuming you installed fish in /usr/local):
\fish{cli-dark}
-echo /usr/local/bin/fish >>/etc/shells
+echo /usr/local/bin/fish | sudo tee -a /etc/shells
\endfish
If you installed a prepackaged version of fish, the package manager should have already done this for you.