diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-03-20 23:52:08 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-03-20 23:52:08 +0530 |
commit | 10dea591f088a52648e08eb38a7158509125f458 (patch) | |
tree | 13ec2643ad717fc79cf1b78c0fa0171bf54192bc /src | |
parent | 20321695ccef71e5727dc5908e31e136cc86bf38 (diff) | |
download | nnn-10dea591f088a52648e08eb38a7158509125f458.tar.gz |
Fix #229
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |