summaryrefslogtreecommitdiff
path: root/mut/nushell/config.nu
diff options
context:
space:
mode:
authorMike Vink <59492084+ivi-vink@users.noreply.github.com>2025-01-19 13:03:40 +0100
committerMike Vink <59492084+ivi-vink@users.noreply.github.com>2025-01-19 13:11:01 +0100
commite42279a08a4d7ff340a6acf4881279a7617a3c2d (patch)
tree9516644bd19b232c7099b66bf928c11e334032f6 /mut/nushell/config.nu
parent4ebbd78747937e6084c903682569b093dfbab854 (diff)
nushell for darwin
Diffstat (limited to 'mut/nushell/config.nu')
-rw-r--r--mut/nushell/config.nu7
1 files changed, 7 insertions, 0 deletions
diff --git a/mut/nushell/config.nu b/mut/nushell/config.nu
index c9951a8..69b48d7 100644
--- a/mut/nushell/config.nu
+++ b/mut/nushell/config.nu
@@ -1,3 +1,4 @@
+try {xset r rate 230 30}
if ($env | default "" DOCKER_NAME | get DOCKER_NAME | is-empty) {
try {pnsh-nvim}
}
@@ -912,3 +913,9 @@ let pistarchio_dir = $"($env.HOME)/Programming/Pionative/pistarchio"
$env.PISTARCHIO_STACKS_DIR = $pistarchio_dir + "/stacks"
$env.PISTARCHIO_LIBRARY_DIR = $pistarchio_dir + "/library"
$env.PISTARCHIO_VENDOR_DESTINATION_DIR = $pistarchio_dir + "/../clients"
+
+try {
+ if (uname | get "operating-system") == "Darwin" {
+ $env.PATH = ["/opt/homebrew/bin" "/opt/X11/bin" "/opt/local/bin" "/opt/local/sbin"] ++ $env.PATH
+ }
+}