commit 722fc524dce801e362abc24b034085e6fabd9e69
parent 4e593f4e970831ed167e6a2087441066c42e523d
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Thu, 19 Mar 2026 18:41:05 +0530
Show runtime bookmarked directory in help
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/nnn.c b/src/nnn.c
@@ -6106,9 +6106,11 @@ static void show_help(const char *path)
fprintf(f, "used:%s ", coolsize(get_fs_info(path, VFS_USED)));
fprintf(f, "size:%s\n\n", coolsize(get_fs_info(path, VFS_SIZE)));
- if (bookmark) {
+ if (bookmark || mark) {
fprintf(f, "BOOKMARKS\n");
printkv(bookmark, f, maxbm, NNN_BMS);
+ if (mark)
+ fprintf(f, " ,: %s\n", mark);
fprintf(f, "\n");
}