aboutsummaryrefslogtreecommitdiff
path: root/src/nushell
diff options
context:
space:
mode:
authorAutumn <git@autumnfo.rest>2026-05-15 18:01:57 +0100
committerAutumn <git@autumnfo.rest>2026-05-15 18:01:57 +0100
commit79c72046d30427d5c05d3f3bbe2917828aab7f5a (patch)
tree07428f809abdcd9796f900bbb033239082eaf280 /src/nushell
parentb89f7aabb3344fee6596a068505b404c83b264b9 (diff)
[conf/nushell] added 040 config
Diffstat (limited to 'src/nushell')
-rw-r--r--src/nushell/040_config.nu19
-rw-r--r--src/nushell/040_environment.nu21
2 files changed, 40 insertions, 0 deletions
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
+}