mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 02:54:13 +01:00
Only open files rather than URLs for full or relative path names.
--HG-- branch : testing
This commit is contained in:
@@ -1065,7 +1065,10 @@ lookup:
|
||||
};
|
||||
};
|
||||
|
||||
completion.addUrlCompleter("f", "Local files", completion.file);
|
||||
completion.addUrlCompleter("f", "Local files", function (context, full) {
|
||||
if (!/^\.?\//.test(context.filter))
|
||||
completion.file(context, full);
|
||||
});
|
||||
},
|
||||
options: function () {
|
||||
var shell, shellcmdflag;
|
||||
|
||||
Reference in New Issue
Block a user