From 84b03c24d584cb6b9905fcb71b74eeab5b723bc8 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Sat, 20 Jan 2024 11:37:29 +0100 Subject: [PATCH] README: Remove chsh section This is awkward because some systems really want $SHELL to be sh-compatible, it's also duplicated with the actual docs and not really something you have to do in the first five minutes of using fish. Supersedes #10229 --- README.rst | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/README.rst b/README.rst index f62822b45..51a8b0b2d 100644 --- a/README.rst +++ b/README.rst @@ -112,29 +112,6 @@ The following optional features also have specific requirements: - ``colorls`` is used, if installed, to add color when running ``ls`` on platforms that do not have color support (such as OpenBSD) -Switching to fish -~~~~~~~~~~~~~~~~~ - -If you wish to use fish as your default shell, use the following command, from inside fish: - -:: - - chsh -s (command -s fish) - -``chsh`` wants a full path, this will try to find where fish is installed. If that doesn't work, try to pass the path manually - it will usually be ``/usr/local/bin/fish`` if you built from source, or ``/usr/bin/fish`` if you installed a package. - -``chsh`` will prompt you for your password and change your default shell. Log out, then log in again for the changes to take effect. - -Use the following command if fish isn’t already added to ``/etc/shells`` to permit fish to be your login shell (e.g. if ``chsh`` complains that it "doesn't exist" or similar): - -:: - - command -s fish | sudo tee -a /etc/shells - -To switch your default shell back, you can run ``chsh -s /bin/bash`` -(substituting ``/bin/bash`` with ``/bin/tcsh`` or ``/bin/zsh`` as -appropriate). - Building --------