Nushell core team meeting 2024-09-11

Attendees

  • Darren
  • Michael
  • Andy
  • Ian
  • Antoine
  • Jakub
  • NotTheDroids
  • Gly

Agenda

  • No items on the agenda this week

Discussed Topics

We talked about ways to deal with sudo in nushell.
sudo nu
weirdan's custom command that does sudo nu -c 'blah'

can we have a plugin nu_plugin_run
sudo run rm file
plugin is launched with run as super user, then we need to run nushell and then in that nushell run rm file

Possible workaround (add to std lib?):

def sudo-run [...args] {
    ^sudo nu -c $'($args | str join " ") | into msgpack' | from msgpack
}
Select a repo