- Preview hovered files in FIFO-based previewer
- Open with desktop opener or specify a custom opener
- File-specific colors (or minimal _dirs in context color_)
- - Icons or Emojis support (customize and compile-in)
+ - Icons and Emojis support (customize and compile-in)
- Plugin for image, video and audio thumbnails
- Create, list, extract (to), mount (FUSE based) archives
- Option to open all text files in `$EDITOR`
initpath = startpath ? xstrdup(startpath) : getcwd(NULL, 0);
if (!initpath)
initpath = "/";
- } else {
+ } else { /* Open a file */
arg = argv[optind];
DPRINTF_S(arg);
if (xstrlen(arg) > 7 && is_prefix(arg, "file://", 7))
return EXIT_FAILURE;
}
+ /* If the file is hidden, enable hidden option */
+ if (*xbasename(initpath) == '.')
+ cfg.showhidden = 1;
+
/*
* If nnn is set as the file manager, applications may try to open
* files by invoking nnn. In that case pass the file path to the