Call me when Bash gets on par with Fish's history completion. I can't use Bash.
GCC Picks Up Meaningful Bash Completion Support To Help With Compiler Options
Collapse
X
-
Originally posted by cybertraveler View Post
I really like the look of fish. It looks superior to bash. However I stick with bash because:
1. I already know it.
2. It's good enough for what I use it for.
3. It's pretty much installed by default on every distro and it's often the default shell.
4. Even if it's not installed by default it's almost certainly available in the default repositories by default even for the most obscure distros.
5. Even if I used fish, I'd likely have to have bash on my system anyway either for the system to function normally, or to run other people's shell scripts.
6. Many distros these days (eg Ubuntu) give a nicer out-of-box bash experience. Auto-complete is already setup and working for most apps on the system.
7. Third party software vendors are more likely to provide bash auto-completion support than fish auto-completion support.
8. Bash is a POSIX compliant shell.
What I said about bash and fish also applies to POSIX in general. There's a lot of areas where the POSIX design could be improved IMO. However; the cost of improving these areas really outweighs the cons of losing compatibility, familiarity and all the other *ity things
5. I can run other people's shell scripts just fine from fish, no need for bash.
6. While bash is often the out-of-the-box default shell, fish does have auto-completion built-in. So you install fish and you have auto-completion, even a toddler could set up fish lol.
7. Third-party software vendors: true. BUT fish adds auto-complete support themselves for third-party software. For example, Solus didn't add eopkg auto-completion support to fish, but fish added it themselves. And that goes for lots of other third-party software as well. And on top of that, fish has history completion, which I use all of the time! bash doesn't even have that feature.
And fish is waaaay easier to customize than bash, esp. with cli tools like oh-my-fish.
But to each their ownI'm not trying to convince you or anything, I just corrected a few of your points.
Last edited by Vistaus; 30 June 2018, 07:38 AM.
Comment
-
-
Originally posted by cybertraveler View PostCan you symlink it at /bin/sh and /bin/bash and generally expect stuff to just work?
You can run POSIX sh or bash scripts if they have the right “shebang” line and a POSIX shell and/or bash are also installed, but that's it.
Comment
-
-
Originally posted by cybertraveler View Post$ man gcc
There's some options which have a double-dash prefix.
Originally posted by cybertraveler View PostVery few though and because it doesn't follow the normal conventions you can't do stuff like stack multiple single letter options behind a single dash (which you would be able to do if it did follow the convention).Last edited by pal666; 02 July 2018, 07:45 PM.
Comment
-
Comment