summaryrefslogtreecommitdiff
path: root/mut/nushell/env.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/env.nu
parent4ebbd78747937e6084c903682569b093dfbab854 (diff)
nushell for darwin
Diffstat (limited to 'mut/nushell/env.nu')
-rw-r--r--mut/nushell/env.nu2
1 files changed, 1 insertions, 1 deletions
diff --git a/mut/nushell/env.nu b/mut/nushell/env.nu
index 670c8d1..35fb30f 100644
--- a/mut/nushell/env.nu
+++ b/mut/nushell/env.nu
@@ -109,7 +109,7 @@ mkdir ~/.cache/zoxide
zoxide init nushell --cmd=cd | save --force ~/.cache/zoxide.nu
starship init nu | save --force ~/.cache/starship.nu
-if not ("/var/run/docker.sock" | path exists) {
+if (not ("/var/run/docker.sock" | path exists)) and (not ((uname | get operating-system) == "Darwin")) {
$env.DOCKER_HOST = $"unix://($env | default $"/run/($env.USER)" XDG_RUNTIME_DIR | get XDG_RUNTIME_DIR)/docker.sock"
}