Fish – A Smart and User-Friendly Interactive Shell for Linux


256 terminal colors supported. —————- On Debian 9 —————- # echo ‘deb http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_9.0/ /’ > /etc/apt/sources.list.d/shells:fish:release:3.list # apt-get update # apt-get install fish —————- On Debian 8 —————- # echo ‘deb http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_8.0/ /’ > /etc/apt/sources.list.d/shells:fish:release:3.list # apt-get update # apt-get install fish —————- On Debian 7 —————- # echo ‘deb http://download.opensuse.org/repositories/shells:/fish:/release:/2/Debian_7.0/ /’ > /etc/apt/sources.list.d/shells:fish:release:2.list # apt-get update # apt-get install fish Install Fish Shell On Ubuntu and Linux Mint On Ubuntu and Linux Mint (all supported releases) execute the following commands: $ sudo apt-add-repository ppa:fish-shell/release-3 $ sudo apt-get update $ sudo apt-get install fish Install Fish Shell On Fedora On Fedora run the following commands as root: —————- On Fedora 29 —————- # dnf config-manager –add-repo https://download.opensuse.org/repositories/shells:fish:release:3/Fedora_29/shells:fish:release:3.repo # dnf install fish —————- On Fedora 28 —————- # dnf config-manager –add-repo https://download.opensuse.org/repositories/shells:fish:release:3/Fedora_28/shells:fish:release:3.repo # dnf install fish —————- On Fedora 27 —————- # dnf config-manager –add-repo https://download.opensuse.org/repositories/shells:fish:release:2/Fedora_27/shells:fish:release:2.repo # dnf install fish Install Fish Shell On CentOS On CentOS (7 and 6) run the following commands as root: —————- On CentOS 7 —————- # cd /etc/yum.repos.d/ # wget http://download.opensuse.org/repositories/shells:fish:release:2/CentOS_7/shells:fish:release:2.repo # yum install fish —————- On CentOS 6 —————- # cd /etc/yum.repos.d/ # wget http://download.opensuse.org/repositories/shells:fish:release:2/CentOS_6/shells:fish:release:2.repo # yum install fish Install Fish Shell On RHEL On RHEL (7 and 6) run the following commands as root: —————- On RHEL 7 —————- # cd /etc/yum.repos.d/ # wget http://download.opensuse.org/repositories/shells:fish:release:3/RHEL_7/shells:fish:release:3.repo # yum install fish —————- On RHEL 6 —————- # cd /etc/yum.repos.d/ # wget http://download.opensuse.org/repositories/shells:fish:release:3/RedHat_RHEL-6/shells:fish:release:3.repo # yum install fish For Arch and Arch-based distributions, you can run pacman -S command to install fish. How to Use Fish Shell 1. Syntax highlighting as user type: $ /usr/bin/calendar 7. $ chsh -s /bin/bash If any other shell was your default shell replace ‘/bin/bash’ with your shell.


Visit Link


Tags: