From f8adbd437a859b25e44698ff2693c97bdb444030 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Mon, 26 May 2025 19:36:50 -0700 Subject: [PATCH] fix: proper null checking --- modules/home/system/session.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/home/system/session.nix b/modules/home/system/session.nix index e574fd1..ad6016d 100644 --- a/modules/home/system/session.nix +++ b/modules/home/system/session.nix @@ -17,8 +17,8 @@ in { shellAbbrs = { c = "clear"; - e = "${config.home.sessionVariables.EDITOR}"; - v = "${config.home.sessionVariables.EDITOR}"; + e = "${config.home.sessionVariables.EDITOR or "$EDITOR"}"; + v = "${config.home.sessionVariables.EDITOR or "$EDITOR"}"; }; packages = [