4 ms·
Nushell missed the one feature that every Unix shell has: if it doesn't recognize the first word as a built-in command, look it up and run it as an executable.
by the_biot 5y ago
Nushell missed the one feature that every Unix shell has: if it doesn't recognize the first word as a built-in command, look it up and run it as an executable. It's crucial, and nushell is missing out on an ecosystem of random shell commands to complement it as a result. This, of course, is what makes the Unix shell so great: the many little programs able to work together via pipelines.
This makes nushell an interpreter command line, instead of a system shell.
(Yes, you can "escape" by typing ^ before a word. That's not nearly the same thing.)
- jntrnr 5y agoThis is how Nushell works. If the command isn't an internal command, it will run it from you path. Curious what you tried that didn't work.
- bennyp101 5y agoIts the 2nd paragraph "If a command is unknown, the command will shell-out and execute it (using cmd on Windows or bash on Linux and macOS), correctly passing through stdin, stdout, and stderr, so things like your daily git workflows and even vim will work just fine."
- the_biot 5y agoArgh, how did I miss this. The ^ is just for overriding built-ins with external executables. Apologies! Clearly I hadn't tried nushell -- this feature I thought missing was a big no for me. I have now, and this is definitely worth a try. Thanks all!