This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
nnn
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Simplify default regexes
master
lostd
10 years ago
parent
b78755bb01
commit
3f1a93a598
2 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
config.def.h
+2
-2
noice.c
+ 1
- 1
config.def.h
View File
@@ -8,7 +8,7 @@ struct assoc assocs[] = {
{ "\\.(html|svg)$", "firefox" },
{ "\\.pdf$", "mupdf" },
{ "\\.sh$", "sh" },
{ ".
*
", "less" },
{ ".", "less" },
};
struct key bindings[] = {
+ 2
- 2
noice.c
View File
@@ -758,9 +758,9 @@ main(int argc, char *argv[])
char *ifilter;
if (getuid() == 0)
ifilter = ".
*
";
ifilter = ".";
else
ifilter = "^[^.]
.*
"; /* Hide dotfiles */
ifilter = "^[^.]"; /* Hide dotfiles */
if (argv[1] != NULL) {
ipath = argv[1];
Write
Preview
Loading…
Cancel
Save