TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Nushell 0.86

95 点作者 kytazo超过 1 年前

6 条评论

DixieDev超过 1 年前
Nushell is quite nice. Tables are nice to work with and look at, and the cross-platform support is top notch. It feels like what Powershell would have been, had it been designed by people who have actually used a command-line before. The main issues I have are bugs. Most recently, I find that it can&#x27;t properly handle files with square brackets in the name, which isn&#x27;t really all that uncommon.<p>I wouldn&#x27;t recommend it for day-to-day, production usage just yet, but definitely worth keeping an eye on if you&#x27;re not a huge fan of the typical stringly-typed shells.
评论 #37927634 未加载
评论 #37926335 未加载
评论 #37926269 未加载
scoopr超过 1 年前
Last time (about a month ago) I tried use it as my login shell, for a brief while. I really want to like it, but change is always difficult :)<p>The issues that I struck immediately where:<p>1. The macos `open` &#x2F; nushell `open` conflict (various workarounds available, not quite sure what to do about it, the use of the macos command is very much in my muscle memory)<p>2. Some issue with tab completion being illogical, not choosing the shorter exact match as the first choice, tripping me up. This seems to be fixed now!<p>3. Setting up the env variables (PATH and other stuff), the syntax shown in the `config env` example is somewhat obtuse and I didn&#x27;t really feel to actually learn all the possibilities to make it more nicer — so porting my .profile didn&#x27;t seem like a fun endeavour. Also I realised keeping them in sync will be a bit difficult, if the syntax is wildly different.<p>I don&#x27;t deal with _that_ much of structured data to actually make good use of nu&#x27;s features — though I guess if I were to use it, it would inspire me to turn the data I do work with more amendable for nu.<p>Perhaps I should still try again :)
评论 #37926565 未加载
评论 #37926939 未加载
sidkshatriya超过 1 年前
If you though writing a bash script can be addictive, wait till you write a nushell script !<p>The nushell language is clean and quite consistent. It is also much more powerful than bash&#x2F;fish etc. Don&#x27;t let the massive number of changes every minor version fool you -- nushell is ready to use. Probably not as a login shell but when you want an &quot;all in one&quot; replacement for the dozens of command line utilities in un*x.
评论 #37926008 未加载
评论 #37927688 未加载
评论 #37927144 未加载
评论 #37926274 未加载
rtpg超过 1 年前
One thing that&#x27;s cool with Nushell is being able to wrap wrappers around existing commandline tools to get structured output (so a wrapper around `git branch` could give me structured data).<p>What I kind of want to go along with this is a (for the lack of a better word) query planner. Let me query structured data, but only pull in stuff as I need it, lazily. That way my structured data can be very detailed, but I only end up pulling the data I need on each iteration. That avoids pulling _everything_ from disk in structured wrappers.<p>There&#x27;s probably a nice middle ground here but it&#x27;s the one thing that&#x27;s holding me back from writing a _lot_ of very detailed wrapper code for Nushell and the like.
评论 #37940483 未加载
n8henrie超过 1 年前
I recently gave nushell a go for a few days, but I found that the structured data conveniences were not helpful all that often, at least compared to how often I was having to look up redirecting stderr or similar bash incompatibilities.<p>The biggest workflow-breaking issue for me was the lack of task backgrounding. I am almost constantly working in vim, backgrounding to test out changes, fg to resume editing. Opening a new tmux &#x2F; zellij pane instead did not work well (I work on a smallish screen, new pane doesn&#x27;t have the old pane&#x27;s command history).
评论 #37940499 未加载
评论 #37927420 未加载
e12e超过 1 年前
Any recent comparison between oils&#x2F;ysh and nush?<p><a href="https:&#x2F;&#x2F;www.oilshell.org&#x2F;cross-ref.html?tag=YSH#YSH" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.oilshell.org&#x2F;cross-ref.html?tag=YSH#YSH</a>