mirror of
https://github.com/nushell/nushell.git
synced 2024-11-25 09:53:43 +01:00
6f2ef05195
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. |
||
---|---|---|
.. | ||
nu_plugin_average | ||
nu_plugin_binaryview | ||
nu_plugin_fetch | ||
nu_plugin_inc | ||
nu_plugin_match | ||
nu_plugin_post | ||
nu_plugin_ps | ||
nu_plugin_str | ||
nu_plugin_sys | ||
nu_plugin_textview | ||
nu_plugin_tree | ||
nu-build | ||
nu-cli | ||
nu-errors | ||
nu-parser | ||
nu-plugin | ||
nu-protocol | ||
nu-source | ||
nu-test-support | ||
nu-value-ext |