nushell/crates/nu-command
nicole mazzuca 6e85b04923
[ls, path relative-to] Fix use of ls ~ | path relative-to ~ (#5212)
* [ls] implement 1b.

> `ls ~` does not return paths relative to the current directory.

We now return `/Users/blah` instead of `../../blah`

* expand lhs and rhs on `path relative-to`

/Users/nimazzuc/projects/nushell〉'~' | path relative-to '~'
/Users/nimazzuc/projects/nushell〉'~/foo' | path relative-to '~'
foo
/Users/nimazzuc/projects/nushell〉'/Users/nimazzuc/foo' | path relative-to '~'
foo
/Users/nimazzuc/projects/nushell〉'~/foo' | path relative-to '/Users/nimazzuc'
foo

* format
2022-04-16 15:05:42 -05:00
..
assets Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00
src [ls, path relative-to] Fix use of ls ~ | path relative-to ~ (#5212) 2022-04-16 15:05:42 -05:00
tests Initial SQLite functionality (#5182) 2022-04-13 20:15:02 -07:00
build.rs Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00
Cargo.toml Move to dev version 0.61.1 (#5206) 2022-04-16 09:29:30 +12:00
LICENSE Include license text in all crates (#5094) 2022-04-08 10:47:13 +02:00