Skip to content

Instantly share code, notes, and snippets.

View NotTheDr01ds's full-sized avatar

Douglas NotTheDr01ds

View GitHub Profile
@fdncred
fdncred / config_loading.md
Last active October 23, 2024 22:35
nushell config file loading

Config file loading rules

  1. default_config.nu and default_env.nu refer to the files that are compiled inside of the nushell executable and are also located in our repo.
  2. personal env.nu/config.nu/login.nu refer to the files that are in the $nu.default-config-dir that you have personally edited.
  3. specified config.nu/env.nu refer to files that are specified on the command line with the --config and --env-config command line parameters.

nu

  • ✅ Always reads the nushell standard library
  • ✅ Always reads personal plugin.msgpackz file if it exists