From 01e5ca5c9679b8745f660469afc1995c3c44f3fd Mon Sep 17 00:00:00 2001 From: Alexey Alekhin Date: Sat, 7 May 2016 02:05:37 +0200 Subject: Changed the code to add fish to /etc/shells to the one that is mentioned in the Readme --- doc_src/faq.hdr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc_src') 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
\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. -- cgit v1.2.3