nushell/crates/nu-std/std
Antoine Stevan a11e41332c
expand paths and split PATH in std path add (#10710)
related to
-
https://discord.com/channels/601130461678272522/614593951969574961/1162406310155923626

# Description
this PR
- does a bit of minor refactoring
- makes sure the input paths get expanded
- makes sure the input PATH gets split on ":"
- adds a test
- fixes the other tests

# User-Facing Changes
should give a better overall experience with `std path add`

# Tests + Formatting
adds a new test case to the `path_add` test and fixes the others.

# After Submitting
2023-10-25 16:43:27 +02:00
..
assert.nu improve assertion error messages in std assert (#10551) 2023-10-01 16:40:24 +02:00
dirs.nu dirs goto: update current ring slot before leaving it. (#10706) 2023-10-13 06:46:51 -05:00
dt.nu std dt datetime-diff: fix uninitialized field ref when borrowing (#10466) 2023-09-24 10:53:56 +02:00
formats.nu add to ndjson and to jsonl to the standard library (#10519) 2023-10-02 11:50:07 +02:00
help.nu differentiating between --x and --x: bool (#10456) 2023-09-23 10:20:48 +02:00
input.nu Command to get individual keys (#9453) 2023-07-03 10:23:44 -05:00
iter.nu Add long options for filters (#10641) 2023-10-08 13:12:46 +02:00
log.nu remove underline from std NU_LOG_FORMAT (#10604) 2023-10-04 13:30:49 -05:00
math.nu move math constants to standard library (#9678) 2023-09-05 19:32:31 +02:00
mod.nu expand paths and split PATH in std path add (#10710) 2023-10-25 16:43:27 +02:00
testing.nu Use long options for string (#10777) 2023-10-19 22:08:09 +02:00
xml.nu Improve type hovers (#9515) 2023-06-29 05:19:48 +12:00