nushell/tests
Jason Gedge 6f2ef05195
Resolves https://github.com/nushell/nushell/issues/1658 (#1660)
For example, when running the following:

    crates/nu-cli/src

nushell currently parses this as an external command. Before running the command, we check to see if
it's a directory. If it is, we "auto cd" into that directory, otherwise we go through normal
external processing.

If we put a trailing slash on it though, shells typically interpret that as "user is explicitly
referencing directory". So

    crates/nu-cli/src/

should not be interpreted as "run an external command". We intercept a trailing slash in the head
position of a command in a pipeline as such, and inject a `cd` internal command.
2020-04-27 13:22:01 +12:00
..
fixtures Add from-eml command (#1656) 2020-04-26 16:26:35 +12:00
plugins str plugin can capitalize and trim strings. (#1652) 2020-04-24 16:37:58 -05:00
shell Resolves https://github.com/nushell/nushell/issues/1658 (#1660) 2020-04-27 13:22:01 +12:00
main.rs Move most of the root package into a subcrate. (#1445) 2020-03-04 13:58:20 -05:00