Skip to content

Please support the yash3 posix shell written in rust with the repo at https://github.com/magicant/yash-rs. #3499

@brancoliticus

Description

@brancoliticus

I was trying to run nvm in the yash3 shell and it doesn't work, even though the nvm script is advertised as being posix compliant.

I installed yash3 from crates.io and nvm with the suggested install script at https://github.com/nvm-sh/nvm/blob/master/README.md piped into bash.

Question: if I uninstall nvm and reinstall by running the install script in yash3 should it conclude in a valid installation?

Feel free to bug me below in the comments about how I may help make yash3 support happen.

$ printf "${NVM_DIR}\n"
/home/tardigrade/.nvm
$ \. $NVM_DIR/nvm.sh
error: The parameter expansion is not closed
   --> /home/tardigrade/.nvm/nvm.sh:425:37
    |
425 |     NVM_SCRIPT_SOURCE="${BASH_SOURCE[0]}"
    |                                     ^ expected `}`
    |                        -- info: the parameter started here
    |
   ::: <stdin>:8:4
    |
  8 | \. $NVM_DIR/nvm.sh
    |    --------------- info: script `/home/tardigrade/.nvm/nvm.sh` was sourced here
    |
$ printf "${0}\n"
yash3
$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions