From 79c72046d30427d5c05d3f3bbe2917828aab7f5a Mon Sep 17 00:00:00 2001 From: Autumn Date: Fri, 15 May 2026 18:01:57 +0100 Subject: [conf/nushell] added 040 config --- src/nushell/040_config.nu | 19 +++++++++++++++++++ src/nushell/040_environment.nu | 21 +++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 src/nushell/040_config.nu create mode 100644 src/nushell/040_environment.nu (limited to 'src') diff --git a/src/nushell/040_config.nu b/src/nushell/040_config.nu new file mode 100644 index 0000000..7ac7b2e --- /dev/null +++ b/src/nushell/040_config.nu @@ -0,0 +1,19 @@ +# +# ~~~ nushell config +# + +# +# ~~~ environment +use environment.nu + +# +# ~~~ custom commands + +# youtube +use scripts/youtube.nu * + +# +# ~~~ theming + +# hide banner +$env.config.show_banner = false diff --git a/src/nushell/040_environment.nu b/src/nushell/040_environment.nu new file mode 100644 index 0000000..0c4d570 --- /dev/null +++ b/src/nushell/040_environment.nu @@ -0,0 +1,21 @@ +# +# ~~~ nushell env config +# + +export-env { + + # + # ~~~ system + + # setup editor + $env.EDITOR = "nvim" + + # setup path + $env.PATH ++= [ "/opt/homebrew/bin", "/opt/local/bin" ] + + # + # ~~~ applications + + # disable homebrew hints + $env.HOMEBREW_NO_ENV_HINTS = 1 +} -- cgit v1.3