diff --git a/.chezmoiexternal.toml b/.chezmoiexternal.toml index 7b35a407..42863bd0 100644 --- a/.chezmoiexternal.toml +++ b/.chezmoiexternal.toml @@ -1,10 +1,11 @@ -[".local/share/nushell/default_env.nu"] +[".config/nushell/default_env.nu"] type = "file" url = "https://raw.githubusercontent.com/nushell/nushell/0.91.0/crates/nu-utils/src/sample_config/default_env.nu" -[".local/share/nushell/default_config.nu"] +[".config/nushell/default_config.nu"] type = "file" url = "https://raw.githubusercontent.com/nushell/nushell/0.91.0/crates/nu-utils/src/sample_config/default_config.nu" + [".local/share/gitalias/gitalias.txt"] type = "file" url = "https://raw.githubusercontent.com/GitAlias/gitalias/main/gitalias.txt" diff --git a/dot_config/nushell/config.nu b/dot_config/nushell/config.nu index f3876bbd..32cebd97 100644 --- a/dot_config/nushell/config.nu +++ b/dot_config/nushell/config.nu @@ -1,4 +1,4 @@ -source ~/.local/share/nushell/default_config.nu +source ./default_config.nu $env.config = ( $env.config @@ -17,4 +17,4 @@ use theme.nu overlay use git.nu overlay use aliases.nu -source ~/.config/nushell/scripts/prompt.nu +source ./scripts/prompt.nu diff --git a/dot_config/nushell/env.nu b/dot_config/nushell/env.nu index 67577775..b78f046d 100644 --- a/dot_config/nushell/env.nu +++ b/dot_config/nushell/env.nu @@ -1,4 +1,4 @@ -source ~/.local/share/nushell/default_env.nu +source ./default_env.nu bash -c $"source ($env.HOME)/.profile && env" | lines