nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 10dea591f088a52648e08eb38a7158509125f458
parent 20321695ccef71e5727dc5908e31e136cc86bf38
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Wed, 20 Mar 2019 23:52:08 +0530

Fix #229

Diffstat:
Msrc/nnn.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 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;