fix: env
This commit is contained in:
1 parent
7f0e9fcf84
commit
71a9849a1b
2 files changed
+2
-2
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
font-family = JetBrainsMono Nerd Font
|
font-family = JetBrainsMono Nerd Font
|
||||||
theme = dark:Catppuccin Mocha,light:Catppuccin Latte
|
theme = dark:Catppuccin Mocha,light:Catppuccin Latte
|
||||||
window-theme = ghostty
|
window-theme = ghostty
|
||||||
command = nu
|
#command = nu
|
||||||
background-blur = true
|
background-blur = true
|
||||||
auto-update = check
|
auto-update = check
|
||||||
macos-option-as-alt = left
|
macos-option-as-alt = left
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ $env.CARAPACE_BRIDGES = 'zsh,fish,bash,inshellisense'
|
|||||||
if (which carapace | is-not-empty) { ^carapace _carapace nushell | str replace '$env.config = $current' '$env.config = ($env.config? | default {} | merge $current)' | save -f $"($nu.cache-dir)/carapace.nu" } else { "" | save -f $"($nu.cache-dir)/carapace.nu" }
|
if (which carapace | is-not-empty) { ^carapace _carapace nushell | str replace '$env.config = $current' '$env.config = ($env.config? | default {} | merge $current)' | save -f $"($nu.cache-dir)/carapace.nu" } else { "" | save -f $"($nu.cache-dir)/carapace.nu" }
|
||||||
|
|
||||||
if (which mise | is-not-empty) {
|
if (which mise | is-not-empty) {
|
||||||
mise activate nu | save -f $"($nu.cache-dir)/mise.nu"
|
# mise activate nu | save -f $"($nu.cache-dir)/mise.nu"
|
||||||
} else {
|
} else {
|
||||||
"" | save -f $"($nu.cache-dir)/mise.nu"
|
"" | save -f $"($nu.cache-dir)/mise.nu"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user