1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 18:44:14 +01:00

Allow :set foo=bar | echo baz.

This commit is contained in:
Kris Maglione
2010-09-25 01:43:02 -04:00
parent 9a73911347
commit 944b24864f
8 changed files with 144 additions and 160 deletions

View File

@@ -434,7 +434,7 @@ const Option = Class("Option", {
} while (value.length);
return res;
},
quote: function quote(str) Commands.quoteArg[/[\s"'\\,]|^$/.test(str) ? "'" : ""](str),
quote: function quote(str) Commands.quoteArg[/[\s|"'\\,]|^$/.test(str) ? "'" : ""](str),
ops: {
boolean: function (operator, values, scope, invert) {