diff --git a/src/nnn.c b/src/nnn.c index a952514a..52652177 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -4033,6 +4033,9 @@ int main(int argc, char *argv[]) ++opt; } + home = getenv("HOME"); + DPRINTF_S(home); + /* Parse bookmarks string */ if (!parsebmstr()) { fprintf(stderr, "%s\n", env_cfg[NNN_BMS]); @@ -4105,9 +4108,6 @@ int main(int argc, char *argv[]) idletimeout = xatoi(getenv(env_cfg[NNN_IDLE_TIMEOUT])); DPRINTF_U(idletimeout); - home = getenv("HOME"); - DPRINTF_S(home); - if (getenv(env_cfg[NNN_TRASH])) cfg.trash = 1;