nushell/src
Matteo Bertini 219b7e64cd Use shellexpand to expand ~ in external commands
Add tests for ~tilde expansion:

- test that "~" is expanded (no more "~" in output)
- ensure that "1~1" is not expanded to "1/home/user1" as it was
  before

Fixes #972

Note: the first test does not check the literal expansion because
the path on Windows is expanded as a Linux path, but the correct
expansion may come for free once `shellexpand` will use the `dirs`
crate too (https://github.com/netvl/shellexpand/issues/3).
2019-12-13 11:54:41 +01:00
..
commands Use shellexpand to expand ~ in external commands 2019-12-13 11:54:41 +01:00
data Extract ps and sys subcrates. Move helper methods to UntaggedValue 2019-12-05 08:52:31 +13:00
env Extract core stuff into own crates 2019-12-02 10:54:12 -08:00
evaluate formatting 2019-12-05 08:57:03 +13:00
format Extract ps and sys subcrates. Move helper methods to UntaggedValue 2019-12-05 08:52:31 +13:00
plugins Move edit and insert to core 2019-12-06 09:15:41 +13:00
shell formatting 2019-12-05 08:57:03 +13:00
cli.rs Move edit and insert to core 2019-12-06 09:15:41 +13:00
commands.rs Move edit and insert to core 2019-12-06 09:15:41 +13:00
context.rs Fix tests 2019-12-02 11:02:57 -08:00
data.rs Extract ps and sys subcrates. Move helper methods to UntaggedValue 2019-12-05 08:52:31 +13:00
deserializer.rs Extract ps and sys subcrates. Move helper methods to UntaggedValue 2019-12-05 08:52:31 +13:00
env.rs Replace crate visibility identifier with pub(crate) 2019-08-29 13:09:09 +02:00
format.rs Extract core stuff into own crates 2019-12-02 10:54:12 -08:00
git.rs chore: omit the entire git.rs file when starship is used 2019-10-09 08:42:46 +01:00
lib.rs Extract ps and sys subcrates. Move helper methods to UntaggedValue 2019-12-05 08:52:31 +13:00
main.rs Modernize external parse and improve trace 2019-11-01 08:45:45 -07:00
prelude.rs Extract ps and sys subcrates. Move helper methods to UntaggedValue 2019-12-05 08:52:31 +13:00
shell.rs run rustfmt 2019-09-11 10:36:50 -04:00
stream.rs Extract core stuff into own crates 2019-12-02 10:54:12 -08:00
utils.rs Extract ps and sys subcrates. Move helper methods to UntaggedValue 2019-12-05 08:52:31 +13:00