Skip to content

Commit

Permalink
Move nu configs to config dir
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmorganson committed Mar 19, 2024
1 parent e4c605a commit 6d40d75
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .chezmoiexternal.toml
Original file line number Diff line number Diff line change
@@ -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"
4 changes: 2 additions & 2 deletions dot_config/nushell/config.nu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source ~/.local/share/nushell/default_config.nu
source ./default_config.nu
$env.config = (
$env.config
Expand All @@ -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
2 changes: 1 addition & 1 deletion dot_config/nushell/env.nu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source ~/.local/share/nushell/default_env.nu
source ./default_env.nu
bash -c $"source ($env.HOME)/.profile && env"
| lines
Expand Down

0 comments on commit 6d40d75

Please sign in to comment.