@Krishnamishra #nushell for the nice language.
@Krishnamishra #nushell for the nice language.
#dotfiles wip is going well.
Switched to #alacritty with #nushell , created a new #tmux config as the old was a mess
Looks good, still a few this open to consolidate
I have just submitted this issue, https://github.com/nushell/nushell/issues/16081 for #nushell + #sydbox integration for a well-confined and audited default shell. Hopefully we can provide a portable base to include #FreeBSD's #Capsicum, #OpenBSD's #pledge and #NetBSD's #secmodel supported one day too! Imagine your #shell covering your ass when you tell noone but #curl #bash at 3 am on a nightshift trying not to wake anyone up! Feedback much appreciated! #exherbo #security
#nushell and #keadhcp: get all DHCP leases from the DHCP server via API, covert the remaining lease time to human readable format and sort by remaining lease time
http post --content-type application/json http://192.0.2.42:8000 { service: [ dhcp4 ], command: lease4-get-all } | get arguments.0.leases | update cltt { |row| $row.cltt * 1000000000 | into datetime } | sort-by cltt | select ip-address hw-address cltt
Curl is great, but there doesn't seem to be as easy a way to plumb the etag or last-modified header from a response into the if-none-match or if-modified-since request header of a follow-up request as there is in #nushell:
http get --full -H [
If-None-Match
(http get --full $url
| get headers.response
| where name == etag
| get value.0)
] $url
| select headers status
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 @fedora Workstation 42 Live and @ubuntubudgie 25.04
https://www.linux-magazine.com/Issues/2025/296?utm_source=mlm
#PenTesting #security #Linux #EUOS #Lomiri #Nushell #Ptcpdump #Python #deborphan #KiCad #NiceGUI #FreshRSS
In Nushell, you don’t even need to use `cd` to change directories, just type the path and go! #nushell
Anyone has good resource recommendation for more advanced #nushell scripting? Every single time I just end up going back to Python
Also seems like no LLM currently understands Nu at any reasonable level.
I fell into another hole. You see, there is no #OhMyPosh in #VoidLinux, only #StarshipPrompt. So I thought about it… And now I have styled my prompt in #Nushell itself, no other stuff necessary.
It doesn’t do anything fancy, just picks colors based on hostname and also shows status of a git directory. So 100% the same as my Oh My Posh config.
`sudo xbps-install wmenu clipman font-adobe-source-code-pro gdu btop micro fastfetch nushell syncthing`
`mkdir ~/.config/foot/`
`cp /etc/xdg/foot/foot.ini ~/.config/foot/foot.ini`
`micro ~/.config/foot/foot.ini`
Default shell: `shell=/usr/bin/nu`. It is possible to set #nushell as the login shell, but I would say it is unnecessary and on Void would require adding environment variables to `$nu.env-path` (https://github.com/nushell/nushell/issues/7941), which is annoying.
Hello world! This is a human-maintained account for Nushell. Thanks Hachyderm for hosting us.
One way to introduce Nushell is using three "pillars" that form the core of the project:
1. Shell
2. Programming Language
3. Structured Data
1/N #nushell
Imagine a future where we are developing on a #System76 computer running #RedoxOS with #COSMICdesktop and either a #alacritty or a #wezterm terminal running #nushell with #zellij as the multiplexer and #helixeditor as the development environment.
Running #rustlang from top to bottom on your computer. Hopefully it's a future not too far away.
Today I reimplemented my backup. Well, I finished it today, some things took time.
Nothing fancy, there is a systemd timer that runs a nu script. In the script I pull everything I want to backup with rsync and put it on a USB drive. That backup folder is rsync’ed to a flash drive in my SMB share on my router and rclone’d to a cloud.
This way, I can access files locally without a PC and from anywhere via the cloud, and 3-2-1 is satisfied, I guess.
The case for Nushell, https://www.jntrnr.com/case-for-nushell/.
Relevant article about shells, and how Nushell pushes the boundaries further. I highly recommend reading it.