nnn

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

commit e68e8ad8a5ecbb58b776c04574b55e3c60936f93
parent 6feaecafe2f576f3b67c8c67fc22df9115790701
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sun, 15 Sep 2019 18:25:11 +0530

Show directory size

Diffstat:
Msrc/nnn.c | 7++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -2417,11 +2417,8 @@ static void printent_long(const struct entry *ent, int sel, uint namecols) coolsize(cfg.blkorder ? ent->blocks << BLK_SHIFT : ent->size), pname); break; case S_IFDIR: - if (cfg.blkorder) - printw("%c%-16.16s %s %8.8s/ %s/\n", - cp, timebuf, permbuf, coolsize(ent->blocks << BLK_SHIFT), pname); - else - printw("%c%-16.16s %s / %s/\n", cp, timebuf, permbuf, pname); + printw("%c%-16.16s %s %8.8s %s/\n", cp, timebuf, permbuf, + coolsize(cfg.blkorder ? ent->blocks << BLK_SHIFT : ent->size), pname); break; case S_IFLNK: printw("%c%-16.16s %s @ %s@\n", cp, timebuf, permbuf, pname);