amtoine / dotfiles

My personal archlinux config files.
GNU General Public License v3.0
21 stars 2 forks source link

nushell: refactoring, modules and version bump #39

Closed amtoine closed 1 year ago

amtoine commented 1 year ago

i anticipate again a bit on the currently opened and draft PRs :wink:

NOTES

i will very likely open one PR per bullet point below :+1:

the plan

i have a few plan, already WIPs or for the future, for the nushell config:

e.g. with

fetch https://raw.githubusercontent.com/nushell/nushell/main/crates/nu-utils/src/sample_config/default_config.nu
| save ($nu.config-path | path dirname | path join "default_config.nu")

and then only replace custom fields with

use default_config.nu *

let custom_config = {
  ...
}
let-env config = ($env.config | merge $custom_config)

in config.nu, a.k.a. $nu.config-path

amtoine commented 1 year ago

all of the above have been either addressed or moved to https://github.com/goatfiles/nu_scripts

:warning: i'll close this issue and mark it as completed.