diff --git a/env.nu b/env.nu index 53f4e9e..8f3d40a 100644 --- a/env.nu +++ b/env.nu @@ -269,3 +269,9 @@ $env.PATH = ($env.PATH | prepend ($env.HOME + '/.npmbin/bin') | prepend ($env.HOME + '/.venv/bin') ) + +$env.XDG_SESSION_TYPE = if (tty | str starts-with "/dev/pts") { + "x11" +} else { + "tty" +}