mirror of
https://github.com/jarun/nnn.git
synced 2025-01-09 17:39:38 +00:00
Fix #229
This commit is contained in:
parent
20321695cc
commit
10dea591f0
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue