mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 02:49:44 +00:00
Match the whole path to enable associations based on a prefix dir
This commit is contained in:
parent
3b5fe15166
commit
57642a9410
2
noice.c
2
noice.c
|
@ -645,7 +645,7 @@ nochange:
|
||||||
filter = xstrdup(ifilter);
|
filter = xstrdup(ifilter);
|
||||||
goto out;
|
goto out;
|
||||||
case S_IFREG:
|
case S_IFREG:
|
||||||
bin = openwith(name);
|
bin = openwith(newpath);
|
||||||
if (bin == NULL) {
|
if (bin == NULL) {
|
||||||
printmsg("No association");
|
printmsg("No association");
|
||||||
free(newpath);
|
free(newpath);
|
||||||
|
|
Loading…
Reference in a new issue