Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand tilde as home in external commands #1060

Commits on Dec 13, 2019

  1. 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 nushell#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 (netvl/shellexpand#3).
    naufraghi committed Dec 13, 2019
    Copy the full SHA
    219b7e6 View commit details
    Browse the repository at this point in the history