aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-03-20 23:52:08 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-03-20 23:52:08 +0530
commit10dea591f088a52648e08eb38a7158509125f458 (patch)
tree13ec2643ad717fc79cf1b78c0fa0171bf54192bc /src
parent20321695ccef71e5727dc5908e31e136cc86bf38 (diff)
downloadnnn-10dea591f088a52648e08eb38a7158509125f458.tar.gz
Fix #229
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nnn.c b/src/nnn.c
index a952514..5265217 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;