summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMel Massadian <melmassadian@gmail.com>2023-12-16 08:45:16 +0100
committerGitHub <noreply@github.com>2023-12-16 08:45:16 +0100
commit989301de115abfd14d0ebbb4191b0a027012758c (patch)
treefb7dd0d68fd7a37c300f7a7fa8dac4df5a18c9e8
parentdbb6888108bbe6553dfb9d0d06cd9cc71cde1872 (diff)
fix: nushell deprecation (#786)
def-env is now def --env
-rw-r--r--src/shell_install/nushell.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell_install/nushell.rs b/src/shell_install/nushell.rs
index 3d58c90..f2824f4 100644
--- a/src/shell_install/nushell.rs
+++ b/src/shell_install/nushell.rs
@@ -33,7 +33,7 @@ const NU_FUNC: &str = r#"
# > br -hi -c "vacheblan.svg;:open_preview" ..
#
# See https://dystroy.org/broot/install-br/
-def-env br [
+def --env br [
--cmd(-c): string # Semicolon separated commands to execute
--color: string = "auto" # Whether to have styles and colors (auto is default and usually OK) [possible values: auto, yes, no]
--conf: string # Semicolon separated paths to specific config files"),