Skip to content

Tilde expansion for external command arguments #13021

@weirdan

Description

@weirdan

Describe the bug

It appears 0.94 no longer expands the tilde to the absolute path in external command arguments.

How to reproduce

#!/bin/sh
echo $*

Running this script with nushell 0.93, bash and zsh with ~ as the argument produces the following output (regardless of PWD):

/home/weirdan

but running it with nushell 0.94+ it outputs the path relative to PWD.

Expected behavior

Nushell should do what it did previously (and what other shells do) - expand the arguments to the absolute path.

Screenshots

No response

Configuration

Irrelevant

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions