Hacker News new | ask | show | jobs
by e12e 981 days ago
> The macos `open` / nushell `open` conflict

Hm, I see there's an issue and a recommendation to move nutshell open to nuopen - won't that get in the way of cross platform support? I would probably prefer to alias MacOS open (or xdg-open... Etc) to something like ”mope".

I'm guessing things like Emacs can be configured to point at an absolute path for open?

https://www.nushell.sh/book/configuration.html#macos-keeping...

https://github.com/nushell/nushell/issues/9220

1 comments

You can bypass a Nushell command by prepending "^". To use MacOS open, this would be "^open cat.gif"

This tic drives me nuts when I hop between fish (which I use for two features, better tab completion and background jobs) and nu. With 0.86, it might just be for background jobs, which is something Nushell has avoided dealing with entirely. CTRL-Z and "bg" is just muscle memory for me, much like "open."