Nushell core team meeting 2024-09-25

Attendees

  • Antoine
  • Darren
  • Piepmatz
  • Michael
  • Rose
  • Devyn
  • Stefan
  • Jack
  • Andy
  • NotTheDroids (Doug or Douglas)

Agenda

Discussed Topics

PWD change to statically point to the process dir

  • LS_COLORS: probably needs to pass some absolute path instead of a relative path.
  • reedline: pass the CWD to Reedline instance on each repl iteration so the cwd-aware hinter works again

glob folder depth

Invitation for a consolidated solution implemented by us

sort-by

  • https://github.com/nushell/nushell/pull/13154
  • two possible closures
    • a closure to generate the sorting key
    • alternative comparison operator
  • issues along the way
    • natural sort
      • treat numeric strings like number
      • (currently also intermix numbers and numeric string)

std-library dicing and lazy-loading

  • Motivating issues: loading the whole standard library takes a not insignificant times to parse
  • NotTheDroids has been slicing the modules of the standard library in to its parts.
    • so not load all its submodules automatically.

subrelated issue

semantic difference between use std dirs and use std/dirs
the former loads the whole std and puts dirs into scope while the latter only loads the dirs (as it is possible here as the module is defined in a separate file)

-> Amtoine explained how this came about, we need to probably talk to Jakub for the larger module story

config loading when there is not config folder or config file

NotTheDr01ds PR for config #13857 Only ask to create config files the first time nu is started - Darren and NTD have been discussing in the PR. Please jump in if you have an opinion. Darren is close to landing it after the last iteration and explanation of how it will work.

I will put this at the top of the agenda for next week when I post the agenda storm

Select a repo