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 = [