mirror of
https://github.com/nushell/nushell.git
synced 2025-05-22 19:00:47 +02:00
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. |
||
---|---|---|
.. | ||
commands | ||
env | ||
evaluate | ||
format | ||
object | ||
parser | ||
plugins | ||
shell | ||
cli.rs | ||
commands.rs | ||
context.rs | ||
env.rs | ||
errors.rs | ||
format.rs | ||
git.rs | ||
lib.rs | ||
main.rs | ||
object.rs | ||
parser.rs | ||
plugin.rs | ||
prelude.rs | ||
shell.rs | ||
stream.rs | ||
traits.rs | ||
utils.rs |