this post was submitted on 19 Jan 2023
22 points (100.0% liked)
Linux
48083 readers
800 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Maybe one day I will actually understand the appeal of all these super fancy shells. They seem kinda cool on the surface but I also feel like I'd never use any of their actual features.
If Bash is your default shell, you can install Fish to try its superb auto suggestions and the tab key, while leaving Bash as your default shell. These auto suggestions do not only work for your command line history but also for file names even when your first letters you type are in different order in the file name (For example, I know that I want to edit a file with the word work in it and start typing the word work and press tab key, but it turns out that the word does start instead with the word personal, Fish is still able to suggest the real file name to edit : personal_and_work_todo.txt). Fish has saved me a lot of typing time. And if you need Bash for a moment (Fish will complain about certain * usage), then temporarily exiting Fish or typing bash is an option.
After installing Fish, run the fish_config command to configure it via a local session in your web browser.
https://fishshell.com
But have you tried them?
I've actually used Fish on my old system. I didn't use it as daily driver. Now I've installed Manjaro, and it uses ZSH by default. And now I can compere them, and oh my, Fish auto-completion is way better. it's interactive, showing command names and help on them. and allow to select completion by arrows, not [Tab].
Only downside of fish is that it is incompatible with Bash. In Zsh you could copy-paste bash commands from tutorials and they would just work, but in Fish you need ot alter them, for example
$(cmd)
is just(cmd)
in Fish.Fish is slowly adding more POSIX syntax, e.g.
$(cmd)
,export ENV_VAR=1
andCFLAGS=-02 make
now work as you would expect.WOW! Gotta install it again. I was actually planing on it. But was lazy.
Truthfully, I've not tried them.
I was about to make a comment along the lines of "I've already learned how to do command line things, my OS already comes with a few shells, why SHOULD I take the time to learn a new shell?"
but then I reflected on this and realized something: it's the same thing as saying "Windows comes with Explorer/Edge, why SHOULD I go through the trouble to pick up a new web browser?" And yet, I unquestioningly download Firefox first thing when I install a new OS, hmm.
You've made me think :]