Commit Graph

14 Commits

Author SHA1 Message Date
Yehuda Katz
0dc4b2b686 Add support for external escape valve (^dir)
This commit makes it possible to force nu to treat a command as an external command by prefixing it with `^`. For example `^dir` will force `dir` to run an external command, even if `dir` is also a registered nu command.

This ensures that users don't need to leave nu just because we happened to use a command they need.

This commit adds a new token type for external commands, which, among other things, makes it pretty straight forward to syntax highlight external commands uniquely, and generally to treat them as special.
2019-08-15 15:18:18 -07:00
Jonathan Turner
99671b8ffc Move more parts to tags and away from spans 2019-08-05 20:54:29 +12:00
Jonathan Turner
a966e88424 Add question mark parsing 2019-08-02 15:15:04 +12:00
Jonathan Turner
8de50ae565 Allow wildcard globs to be used in a bare word 2019-08-02 12:03:28 +12:00
Jonathan Turner
462f783fac initial change to Tagged<Value> 2019-08-01 13:58:42 +12:00
Jonathan Turner
2ed46046bd Cleanup for upcoming release 2019-07-17 07:10:25 +12:00
Jonathan Turner
60f4436849
Merge pull request #181 from nushell/string-arg
Make signatures a little more general
2019-07-16 09:40:36 +12:00
Yehuda Katz
ded3462e82 Make signatures a little more general 2019-07-15 14:16:27 -07:00
Jonathan Turner
59e3ca69f3
Merge pull request #177 from jonathandturner/fix_numeric_filenames
Check for barewords that start with a number
2019-07-16 06:04:00 +12:00
Jonathan Turner
bb13c2e234 Check for barewords that start with a number 2019-07-16 05:48:06 +12:00
Andrés N. Robalino
520ab55756 K raw unit is a kilobyte. 2019-07-14 22:47:01 -05:00
Yehuda Katz
70f9e355fd WIP 2019-07-12 19:20:26 -07:00
Jonathan Turner
8bf7ea1c6c Add at 2019-06-26 18:33:26 +12:00
Jonathan Turner
c969c2c362 Clean up old parser code 2019-06-25 16:33:12 +12:00