FAQ: Synchronise code to add fish to /etc/shells with README

(cherry picked from commit 01e5ca5c96)

Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
This commit is contained in:
Alexey Alekhin 2016-05-07 02:05:37 +02:00 committed by David Adam
parent 8ec81393a3
commit c1e15ef084

View file

@ -136,10 +136,10 @@ The `open` command uses the MIME type database and the `.desktop` files used by
<hr> <hr>
\section faq-default How do I make fish my default shell? \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} \fish{cli-dark}
echo /usr/local/bin/fish >>/etc/shells echo /usr/local/bin/fish | sudo tee -a /etc/shells
\endfish \endfish
If you installed a prepackaged version of fish, the package manager should have already done this for you. If you installed a prepackaged version of fish, the package manager should have already done this for you.