Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nushell: refactoring, modules and version bump #39

Closed
16 tasks done
amtoine opened this issue Dec 8, 2022 · 1 comment
Closed
16 tasks done

nushell: refactoring, modules and version bump #39

amtoine opened this issue Dec 8, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@amtoine
Copy link
Owner

amtoine commented Dec 8, 2022

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

NOTES

i will very likely open one PR per bullet point below 👍

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

-    event: [
-      {
-        edit: insertString
-        value: "dotfiles edit"
-      }
-      { send: Enter }
-    ]
+    event: {
+      send: executehostcommand
+      cmd: "dotfiles edit"
+    }
@amtoine
Copy link
Owner Author

amtoine commented Dec 17, 2022

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

⚠️ i'll close this issue and mark it as completed.

@amtoine amtoine closed this as completed Dec 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant