4 ms·
Incidentally, I've been using fish for a while, and it's really nice. Coworkers wandering past while I'm working have been known to stop and state; the fish au
by Lazare 11y ago
Incidentally, I've been using fish for a while, and it's really nice. Coworkers wandering past while I'm working have been known to stop and state; the fish autocompletion/history magic is really impressive if all you've known before is the standard bash Ctrl-R stuff. And once you get used to it, and huge productivity boost, especially if you work a lot with tools like HTTPie.
(And while compatibility with tools which expect bash gets brought up a lot, I've had zero issues. YMMV.)
- StavrosK 11y agoI've been using it for years and swear by it. Z is another tool that makes my life much easier: https://github.com/sjl/z-fish https://github.com/sjl/z-fish If you aren't using fish, you need to switch to it right now.
- anbotero 11y agoSame here. One particular thing about fish is problems with OTHER people’s scripts that don’t setup their shebangs properly, and start causing all kinds of fuss. We had this really old build system that worked, but man, it was riddled with a lot of scripts that did not declare the shebang and used all trickery shell scripting. It took almost a month to fix them and make them more portable. It was good, because I converted three people to fish after that. :)
- jeremy_wiebe 11y agoDevil's advocate here: could you have gotten away with having a shell script (build-fish.sh?) that opened a `sh` shell and ran the build? Seems like a month spent on making a build script work with a minority's choice of (non-mainstream) shell is a lot. :-) (I should note that I've been guilty of spending time on non-valuable things. So this is most certainly a bit of the pot calling the kettle black :)
- StavrosK 11y agoThat's what he did. He added the shebang lines so they'd run with sh. Although I don't know why that took months, I would have written a script to find executable files and check if they had a shebang line.
- justinmayer 11y agoFor ease of installation, you can also get Z as a plugin from my Tacklebox/Tackle projects: https://github.com/justinmayer/tackle https://github.com/justinmayer/tackle
- iamthebest 11y agoI haven't used fish, but I'm curious about the auto-completion/history magic. Is it similar to dynamic-complete-history(CTRL-META-i) in bash?