diff --git a/content/config/helix/config.toml b/content/config/helix/config.toml index 70f8428..ae73d47 100644 --- a/content/config/helix/config.toml +++ b/content/config/helix/config.toml @@ -2,7 +2,7 @@ theme = "dracula-purple" [editor] rulers = [120] -shell = ["nu", "-c"] +shell = ["nu", "--stdin", "-c"] true-color = true cursorline = true color-modes = true diff --git a/content/config/nushell/config.nu.tmpl b/content/config/nushell/config.nu.tmpl index fcc8982..1aaa6ec 100644 --- a/content/config/nushell/config.nu.tmpl +++ b/content/config/nushell/config.nu.tmpl @@ -195,11 +195,11 @@ $env.config = { direnv export json | from json | default {} | load-env {{/if-installed}} }, { - condition: {|before, after| ("project.nu" in (overlay list)) and ($before == null or ($after not-in $before)) } - code: "overlay hide project.nu --keep-env [ PWD ]" + condition: {|before, after| ("nuenv.nu" in (overlay list)) and ($before == null or ($before not-in $after)) } + code: "overlay hide nuenv.nu --keep-env [ PWD ]" }, { - condition: {|before, after| ("./project.nu" | path exists) and ($before == null or ($after not-in $before)) }, - code: "overlay use ./project.nu as project.nu" + condition: {|before, after| "./nuenv.nu" | path exists }, + code: "overlay use ./nuenv.nu as nuenv.nu" }] } }