diff options
Diffstat (limited to 'mut/nushell/env.nu')
| -rw-r--r-- | mut/nushell/env.nu | 2 |
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" } |
