forked from extern/nushell
0dc4b2b686
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. |
||
---|---|---|
.. | ||
fixtures | ||
helpers | ||
command_cd_tests.rs | ||
command_cp_tests.rs | ||
command_enter_test.rs | ||
command_ls_tests.rs | ||
command_mkdir_tests.rs | ||
command_mv_tests.rs | ||
commands_test.rs | ||
external_tests.rs | ||
filter_inc_tests.rs | ||
filter_str_tests.rs | ||
filters_test.rs | ||
tests.rs |