mastouille.fr est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Mastouille est une instance Mastodon durable, ouverte, et hébergée en France.

Administré par :

Statistiques du serveur :

582
comptes actifs

#nushell

0 message0 participant0 message aujourd’hui
Linux Magazine<p>Linux Magazine 296: Pen Testing is available now! Learn to think like an attacker and find resources to get started with penetration testing. This month's DVD includes <span class="h-card" translate="no"><a href="https://fosstodon.org/@fedora" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>fedora</span></a></span> Workstation 42 Live and <span class="h-card" translate="no"><a href="https://mastodon.social/@ubuntubudgie" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>ubuntubudgie</span></a></span> 25.04<br><a href="https://www.linux-magazine.com/Issues/2025/296?utm_source=mlm" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">linux-magazine.com/Issues/2025</span><span class="invisible">/296?utm_source=mlm</span></a><br><a href="https://fosstodon.org/tags/PenTesting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PenTesting</span></a> <a href="https://fosstodon.org/tags/security" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>security</span></a> <a href="https://fosstodon.org/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a> <a href="https://fosstodon.org/tags/EUOS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>EUOS</span></a> <a href="https://fosstodon.org/tags/Lomiri" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Lomiri</span></a> <a href="https://fosstodon.org/tags/Nushell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Nushell</span></a> <a href="https://fosstodon.org/tags/Ptcpdump" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Ptcpdump</span></a> <a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://fosstodon.org/tags/deborphan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>deborphan</span></a> <a href="https://fosstodon.org/tags/KiCad" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>KiCad</span></a> <a href="https://fosstodon.org/tags/NiceGUI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NiceGUI</span></a> <a href="https://fosstodon.org/tags/FreshRSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FreshRSS</span></a></p>
sed<p>In Nushell, you don’t even need to use `cd` to change directories, just type the path and go! ✨ <a href="https://hachyderm.io/tags/nushell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nushell</span></a></p>
partizan<p>Can we please have one standard way to define shell completions, that is compatible with all shells?</p><p>I'm moving from zsh to nushell, and it's relatively new, and you have to configure completions by writing a lot of code, including a lot of files, it's a nightmare.</p><p>It's easier for older shells like zsh or fish only because other people already done it, and some packages include per-shell completions.</p><p>There is <span class="h-card" translate="no"><a href="https://mastodon.social/@carapace_sh" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>carapace_sh</span></a></span> which attempts to do the right thing, but having completions in the other place than actual app is not very good idea.</p><p><a href="https://usage.jdx.dev/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">usage.jdx.dev/</span><span class="invisible"></span></a> is trying to do the same but differently, and it has a way for an app to provide a schema for completions. This is step in the right direction, but not many tools support this.</p><p>Has anyone tried to put this somehow on the shell level? E.q. app includes a file like `myapp.completions` , and shell have a module which reads the file and generates a list of completions based on user input.</p><p>The right way to do this, is probably by defining a standard cross-platform/cross-shell schema. And it can be read by the shell, or by the tool like carapace or usage...</p><p><a href="https://twiukraine.com/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a> <a href="https://twiukraine.com/tags/zsh" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>zsh</span></a> <a href="https://twiukraine.com/tags/bash" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bash</span></a> <a href="https://twiukraine.com/tags/nushell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nushell</span></a> <a href="https://twiukraine.com/tags/fish" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fish</span></a> <a href="https://twiukraine.com/tags/elvish" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>elvish</span></a></p>
partizan<p>I was using <a href="https://twiukraine.com/tags/zsh" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>zsh</span></a> for the last many years, and I have configured EVERYTHING the way I like.</p><p>- Auto-completions<br>- Per-directory history<br>- <a href="https://twiukraine.com/tags/McFly" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>McFly</span></a> for Ctrl-R quick search<br>- Aliases</p><p>Now I'm moving to <a href="https://twiukraine.com/tags/nushell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nushell</span></a> and I want to configure everything in the same way. But, per-directory history is either broken or non-existent: <a href="https://github.com/nushell/nushell/discussions/15670" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/nushell/nushell/dis</span><span class="invisible">cussions/15670</span></a></p><p>People do not use per-directory history? This is AWESOME, every time you switch directory you have your entire relevant history at your fingertips. I recommend everyone to try it.</p><p>zsh has per-directory-history plugin (i was using oh-my-zsh)<br><a href="https://twiukraine.com/tags/atuin" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>atuin</span></a> has even better search, you can filter by workspace/directory/session/...</p><p>Atuin has solved missing/broken per-directory history partially, but god I want this to be default in all shells.</p><p><a href="https://twiukraine.com/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linux</span></a></p>
Amin Khansari<p><a href="https://mamot.fr/tags/nushell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nushell</span></a> to the rescue to quickly run tests in a watch mode when it's not available by default:<br>`watch . --glob=**/*.ts { clear; try { pnpm test } }`</p>
Alec :tux: 🇦🇺 👨‍💻<p>Dear Mastodon, </p><p>Can anyone offer an opinion on <a href="https://mstdn.social/tags/PowerShell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PowerShell</span></a> vs <a href="https://mstdn.social/tags/NUShell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NUShell</span></a>. Specifically on a POSIX style system?</p>
Nushell<p>Hello world! This is a human-maintained account for Nushell. Thanks Hachyderm for hosting us.</p><p>One way to introduce Nushell is using three "pillars" that form the core of the project:<br>1. Shell<br>2. Programming Language<br>3. Structured Data</p><p>1/N <a href="https://hachyderm.io/tags/nushell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nushell</span></a></p>
VirtualComputer<p>Imagine a future where we are developing on a <a href="https://mastodon.social/tags/System76" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>System76</span></a> computer running <a href="https://mastodon.social/tags/RedoxOS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RedoxOS</span></a> with <a href="https://mastodon.social/tags/COSMICdesktop" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>COSMICdesktop</span></a> and either a <a href="https://mastodon.social/tags/alacritty" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>alacritty</span></a> or a <a href="https://mastodon.social/tags/wezterm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wezterm</span></a> terminal running <a href="https://mastodon.social/tags/nushell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nushell</span></a> with <a href="https://mastodon.social/tags/zellij" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>zellij</span></a> as the multiplexer and <a href="https://mastodon.social/tags/helixeditor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>helixeditor</span></a> as the development environment.</p><p>Running <a href="https://mastodon.social/tags/rustlang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rustlang</span></a> from top to bottom on your computer. Hopefully it's a future not too far away.</p><p><a href="https://mastodon.social/tags/rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rust</span></a></p>
Anil<p>Decided to switch from <a href="https://mastodon.social/tags/zsh" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>zsh</span></a> and give a <a href="https://mastodon.social/tags/nushell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nushell</span></a> go. <a href="https://mastodon.social/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linux</span></a> <a href="https://mastodon.social/tags/rustlang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rustlang</span></a> :)</p>
platlas<p>Now I have simple script in <a href="https://en.osm.town/tags/nushell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nushell</span></a> (using plot plugin) that can preview gpx file in terminal.</p>
Felix 🇨🇦 🇩🇪 🇺🇦<p><span class="h-card" translate="no"><a href="https://mastodon.social/@bagder" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>bagder</span></a></span> This is really annoying. I've also seen examples where <a href="https://mstdn.io/tags/curl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>curl</span></a> requests are working but requests via <a href="https://mstdn.io/tags/nushell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nushell</span></a> 'http get' are not.</p>
Cosmin Saveanu<p>Well, it turns out I have a special affinity for the <a href="https://framapiaf.org/tags/fishshell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fishshell</span></a>. For all those who suffer with the syntax of <a href="https://framapiaf.org/tags/bash" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bash</span></a> commands, it can be a solution. <a href="https://framapiaf.org/tags/Nushell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Nushell</span></a> is very interesting as well, but does not yet "click" for my use.</p><p><a href="https://fishshell.com/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">fishshell.com/</span><span class="invisible"></span></a></p>
Felix 🇨🇦 🇩🇪 🇺🇦<p><span class="h-card" translate="no"><a href="https://social.jvns.ca/@b0rk" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>b0rk</span></a></span> I second that list. <a href="https://mstdn.io/tags/fishshell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fishshell</span></a> is my daily driver, too. History autocomplete is the killer feature for me and why I stuck to it. Occasionally I'm also experimenting with <a href="https://mstdn.io/tags/nushell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nushell</span></a> and <a href="https://mstdn.io/tags/xonsh" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>xonsh</span></a></p>
chfkch :nixos: :rust:<p>Hello <a href="https://ruhr.social/tags/NuShell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NuShell</span></a> experts. Strange that it never occured to me before:<br>I want to copy the contents of a folder to another folder. In bash, i can go `cp -a folder_a/. folder_b/` and the havr everything as a child of `folder_b`.<br>With nushell, i can only use the `-r` flag, but then i have `folder_b/folder_a` as a new structure.<br>What can i do to just copy the contents and not the source folder itself?</p>
Sophia J. Turner<p>Hi all, another programming language update from me. It's time to move on from <a href="https://fosstodon.org/tags/Nushell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Nushell</span></a>, say goodbye to <a href="https://fosstodon.org/tags/Junelang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Junelang</span></a>, and look to the road ahead.</p><p>Some more info here: <a href="https://www.sophiajt.com/following-new-paths-ahead/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">sophiajt.com/following-new-pat</span><span class="invisible">hs-ahead/</span></a></p>
petrisch<p>Just wrote a new blogpost to not forget how my setup works.<br>No really, no need to read it, its just me rambling about how AWESOME, the foss community is.</p><p>On todays take <a href="https://social.librem.one/tags/neovim" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>neovim</span></a> <a href="https://social.librem.one/tags/treesitter" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>treesitter</span></a> <a href="https://social.librem.one/tags/nushell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nushell</span></a>.<br>There should be a <a href="https://social.librem.one/tags/vimday" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vimday</span></a> or something to appreciate this lovely piece of software.</p><p>So here it is: <a href="https://petrisch.codeberg.page/blog/love-for-neovim/" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">petrisch.codeberg.page/blog/lo</span><span class="invisible">ve-for-neovim/</span></a></p>
Juno<p>I have found some nice resources, in particular the RSS Advisory Board has a great, clean website covering specs [1], best practices [2] and a validator with really helpful hints [3].</p><p>I also found the Atom spec [4] as an RFC, but no other resources nearly as friendly so seems I'll be sticking with RSS.</p><p>Last night I wrote a minimal working and valid feed [5] that is already live [6]. Next step is writing the script to somehow parse the XML and modify it with new posts and a new "last built" date.</p><p>To start off, I won't even consider parsing escape sequences, comments, and the posts won't have any content, just a title and a link.</p><p>Initially I'll try and see what I can hack up in OCaml, but I might change language depending on what tooling I find across them. Some other candidates are Roc, Scala on Ammonite, Arturo and Nushell.</p><p>By the way, for a while now I've been on a whole quest for finding a typed scripting language to call favorite, and though that is a whole different matter this will be a nice project to test these candidates on.</p><p>[1] <a href="https://www.rssboard.org/rss-specification" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">rssboard.org/rss-specification</span><span class="invisible"></span></a><br>[2] <a href="https://www.rssboard.org/rss-profile" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">rssboard.org/rss-profile</span><span class="invisible"></span></a><br>[3] <a href="https://www.rssboard.org/rss-validator" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">rssboard.org/rss-validator</span><span class="invisible"></span></a><br>[4] <a href="https://datatracker.ietf.org/doc/html/rfc4287" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">datatracker.ietf.org/doc/html/</span><span class="invisible">rfc4287</span></a><br>[5] <a href="https://github.com/jultty/blog/blob/main/feed.rss" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/jultty/blog/blob/ma</span><span class="invisible">in/feed.rss</span></a><br>[6] <a href="https://blog.jutty.dev/feed.rss" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">blog.jutty.dev/feed.rss</span><span class="invisible"></span></a></p><p><a href="https://mastodon.bsd.cafe/tags/rss" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rss</span></a> <a href="https://mastodon.bsd.cafe/tags/atom" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>atom</span></a> <a href="https://mastodon.bsd.cafe/tags/blogging" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>blogging</span></a> <a href="https://mastodon.bsd.cafe/tags/xml" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>xml</span></a> <a href="https://mastodon.bsd.cafe/tags/ocaml" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ocaml</span></a> <a href="https://mastodon.bsd.cafe/tags/roc" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>roc</span></a> <a href="https://mastodon.bsd.cafe/tags/scala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>scala</span></a> <a href="https://mastodon.bsd.cafe/tags/ammonite" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ammonite</span></a> <a href="https://mastodon.bsd.cafe/tags/arturo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>arturo</span></a> <a href="https://mastodon.bsd.cafe/tags/nushell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nushell</span></a></p>
Ron Bowes<p>Tried <a href="https://infosec.exchange/tags/nushell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nushell</span></a> today. Wanted to like it - I wouldn't mind having a more functional shell (I use <a href="https://infosec.exchange/tags/fishshell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fishshell</span></a> right now, which is better than Bash but still limited).</p><p>My general feeling on nu...</p><ul><li>It looks pretty, I love modern-feeling stuff built in Rust</li><li>It feels like bash and powershell had a baby that was raised by Rustaceans</li><li>It's cross-platform, which is kinda cool</li><li>It's very verbose - AFAICT there's no "compact" form of things like <code>ls</code>, which is a huge problem - copying/pasting, using the data in my own pipelines, etc are all a problem</li><li>It doesn't play well with Linux utilities like less/grep/strings/etc, which I use a ton - this is the biggest dealbreaker for me, I think</li><li>It has a complicated language that looks a bit like Powershell and other stuff. I wish people would stop inventing new languages</li><li>Tab-completion doesn't seem to be implemented (or work?) for their internal stuff, so if I do <code>ls | sort-by &lt;tab&gt;</code>, it doesn't show me what fields I can sort by. That seems like a HUGE usability problem!</li><li>Little UI things that I heavily depend on (like putting <code>/</code> after directory names in <code>ls</code> output) simply aren't there.. colors don't do it for me</li><li>It can transparently fetch from the web and process json and stuff, but I don't know why I need my shell to do that</li><li>Commands I heavily depend on, like <code>echo -ne</code>, work completely differently</li></ul><p>I think after a couple hours of messing with it, there's no way it's going to fit into my workflow.</p><p>It was neat to try, though!</p>
Guiguid<p><span class="h-card" translate="no"><a href="https://mastodon.social/@itsfoss" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>itsfoss</span></a></span> <br><a href="https://framapiaf.org/tags/sqlpage" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sqlpage</span></a> <a href="https://sql.ophir.dev" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">sql.ophir.dev</span><span class="invisible"></span></a><br><a href="https://framapiaf.org/tags/nushell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nushell</span></a> <a href="https://www.nushell.sh" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">nushell.sh</span><span class="invisible"></span></a></p>
Jakub Žádník 🇺🇦<p><a href="https://mastodon.social/tags/nushell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nushell</span></a> is uniquely well set up for great debugging support:<br>1. Lack of eval and strict rules around scoping and mutability make for great static analysis, potentially on par with static compiled languages.<br>2. We can instrument the evaluator and provide great runtime analysis and debugging support, potentially on par with dynamic interpreted languages.</p><p>Just merged in basic debugger instrumentation with a proof-of-concept profiler: <a href="https://github.com/nushell/nushell/pull/11441" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/nushell/nushell/pul</span><span class="invisible">l/11441</span></a>. I'm curious how far we can take it.</p>