I want to know fedora use bash so can i switch to fish or zsh and what are the advantage in those and disadvantages also i saw fish and there auto complete feature attract me.
This has been discussed many many times on the internet, so it’s best to just search the web and read all the posts out there. No real point hashing it out here again
Here’s one from Opensource.com:
Lots more here:
zsh is arguably a much better shell than bash, but a lot of open sore software on *NIX requires bash to build it. For Fedora this shouldn’t be much of an issue since dnf installs prebuilt packages, but if you build your own apps from source or need to run other stuff that assumes bash, then it could be annoying.
3 posts were split to a new topic: About suggesting that visitors here search for common topics
In that respect, and from experience, I can say that the shell used is a personal preference.
Almost all distros provide bash and most use it by default. Every distro I know of has the option to switch the shells used and everyone is free to select the shell they prefer.
One failing of many users to understand is that many commands (& scripts) that work perfectly with fish, zsh, tcsh, etc are often not functional in bash. This is why every shell script used should have the shebang line that tells the system which shell to use when executing that script.
Every user is free to use what they prefer, but the differences do interfere with interoperability; and with understanding and modifying the commands when the suggestions from a bash user do not work for someone using fish or others.
Note from the other thread (more appropriate here):
both bash and zsh also have auto completion features:
- bash: Bash Reference Manual (see also: GitHub - scop/bash-completion: Programmable completion functions for bash which is included in Fedora: bash-completion - Fedora Packages)
- zsh: zsh: 3 Roadmap (see also: GitHub - zsh-users/zsh-completions: Additional completion definitions for Zsh. but I couldn’t find this in the repos, I found this instead: zsh-autosuggestions - Fedora Packages)
(I’m slightly surprised that this wasn’t mentioned in the article I linked to).