diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-12-09 19:12:59 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-12-09 19:12:59 +0530 |
commit | 21f9a713dca8454e7fc636f815dcda5725801d10 (patch) | |
tree | 4c0f0add7a3f2abcef2d4bfcdcc1e1a2b93c2656 | |
parent | 885cfd47345017ca8524c259e53949312360fc8f (diff) | |
download | nnn-21f9a713dca8454e7fc636f815dcda5725801d10.tar.gz |
Fix auto-select for symlink to dir
-rw-r--r-- | src/nnn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2134,7 +2134,7 @@ static int filterentries(char *path) /* If the only match is a dir, auto-select and cd into it */ if (ndents == 1 && cfg.filtermode - && cfg.autoselect && S_ISDIR(dents[0].mode)) { + && cfg.autoselect && (dents[0].flags & DIR_OR_LINK_TO_DIR)) { *ch = KEY_ENTER; cur = 0; goto end; |