Re:The fish shell is amazing
by sprash on Thursday November 25, 2021 @10:25AM
(#29342116)
Many of the features are also achievable with pure bash with ble.sh (https://github.com/akinomyoga/ble.sh).
[ Parent
| on HN ]
Ble.sh seems pretty cool. The path hacking it does on readlink doesn't work right and causes the CNF handler to launch on NixOS.
I guess it does the PATH hacking based on whether the system is GNU or not so that it can get `realpath`/`readlink -f`-like behavior even on systems that don't natively have that because they include *BSD coreutils.
That might not behave as expected (and is unnecessary) on my macOS systems, either, since I like to keep GNU coreutils (with no `g` prefixes on the executable names) on my PATH there (heresy, I know).
It's also noticeably slower, to the point that there's a bit of jitter as I type.
It's pretty cool, though. If it's any better after I patch the readlink PATH hacking out, maybe I'll configure it for bash on my systems.
Re:The fish shell is amazing
by gogoyubari on Friday November 26, 2021 @01:24AM
(#29347926)
I find it amusing when people are discussing all these new shells and features, yet everytime I see someone letting them know they can do these exact same things in bash, there's absolute silence. It's not the first time I see ble.sh being recommended here with no reactions from the community whatsoever.
As for fish, I've used it for a few weeks. Not having POSIX compatibility and GNU readline shortcuts made work much, much harder.