Explorar el Código

Simplify default regexes

master
lostd hace 10 años
padre
commit
3f1a93a598
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. +1
    -1
      config.def.h
  2. +2
    -2
      noice.c

+ 1
- 1
config.def.h Ver fichero

@@ -8,7 +8,7 @@ struct assoc assocs[] = {
{ "\\.(html|svg)$", "firefox" },
{ "\\.pdf$", "mupdf" },
{ "\\.sh$", "sh" },
{ ".*", "less" },
{ ".", "less" },
};

struct key bindings[] = {


+ 2
- 2
noice.c Ver fichero

@@ -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];


Cargando…
Cancelar
Guardar