Jakub Žádník cc5c4d38bb
Small fixes and refactors to paths & source command (#3998)
* Expand path when converting value -> PathBuf

Also includes Tagged<PathBuf>.

Fixes #3605

* Expand path for PATH env. variable

Fixes #1834

* Remove leftover Cows after nu-path refactor

There were some unnecessary Cow conversions leftover from the old
nu-path implementation.

* Use canonicalize in source command; Improve errors

Previously, `source` used `expand_path()` which does not follow
symlinks.

As a follow up, I improved the source error messages so they now tell
why the source file could not be canonicalized or read into string.
2021-09-12 02:36:14 +03:00
..
2021-08-27 20:48:58 +12:00
2021-08-27 20:48:58 +12:00
2021-08-27 20:48:58 +12:00
2021-08-27 20:48:58 +12:00
2021-09-10 10:44:22 +12:00
2021-09-10 10:44:22 +12:00
2021-09-10 10:44:22 +12:00
2021-08-28 15:59:09 +03:00
2021-08-27 20:48:58 +12:00
2021-09-10 10:44:22 +12:00
2021-08-27 20:48:58 +12:00
2021-09-10 10:44:22 +12:00

Nushell core libraries and plugins

These sub-crates form both the foundation for Nu and a set of plugins which extend Nu with additional functionality.

Foundational libraries are split into two kinds of crates:

  • Core crates - those crates that work together to build the Nushell language engine
  • Support crates - a set of crates that support the engine with additional features like JSON support, ANSI support, and more.

Plugins are likewise also split into two types:

  • Core plugins - plugins that provide part of the default experience of Nu, including access to the system properties, processes, and web-connectivity features.
  • Extra plugins - these plugins run a wide range of differnt capabilities like working with different file types, charting, viewing binary data, and more.