1. 07 7月, 2023 1 次提交
  2. 16 4月, 2020 1 次提交
  3. 18 6月, 2023 1 次提交
  4. 05 6月, 2023 1 次提交
  5. 26 4月, 2023 1 次提交
  6. 02 5月, 2023 1 次提交
  7. 30 4月, 2023 1 次提交
  8. 22 4月, 2023 1 次提交
    • S
      [Fix] `nvm exec`: no longer error with '-q: invalid option' for zsh users · 70aa611a
      Spike Grobstein 提交于
      the `nvm.sh` file assigns and exports an `NVM_CD_FLAGS` variable if it
      was sourced from a zsh shell. the fact that it's exported means that
      it'll be assigned in all child processes, including the `nvm-exec`
      script, which uses bash as the interpreter.
      
      Bash's `cd` command doesn't have a `-q` flag, so if the `NVM_CD_FLAGS`
      is assigned `-q`, the script will error out and incorrectly claim that
      the node version isn't installed.
      
      this also manifests itself in the `nvm exec` command.
      
      Example:
      
      ```console
      $ nvm exec 16.14.0 npm --version
      Running node v16.14.0 (npm v8.3.1)
      /Users/<ME>/.nvm/nvm.sh: line 28: cd: -q: invalid option
      cd: usage: cd [-L|[-P [-e]] [-@]] [dir]
      both the tree and the node path are required
      N/A: version "v16.14.0 -> N/A" is not yet installed.
      
      You need to run "nvm install v16.14.0" to install it before using it.
      ```
      
      To address this, we unset the `NVM_CD_FLAGS` at the start of the
      `nvm-exec` script, before loading `nvm.sh`.
      70aa611a
  9. 29 4月, 2023 2 次提交
  10. 09 4月, 2023 2 次提交
  11. 06 4月, 2023 1 次提交
  12. 07 4月, 2023 1 次提交
  13. 03 4月, 2023 1 次提交
  14. 23 3月, 2023 2 次提交
  15. 10 3月, 2023 1 次提交
  16. 22 3月, 2023 2 次提交
  17. 22 1月, 2023 1 次提交
    • N
      [Fix] Remove unneeded call to `ls` in `nvm_arch` · edacf827
      Nicolas signed-log FORMICHELLA 提交于
      Remove the call to `ls` that was used to determine the symlink
      destination
      
      Reasoning :
      
      * `od` resolves symlink itself due to the use of `fopen`
      * Prevent the behaviour of `od` which will hang if the filename is
        empty (i.e. `/sbin/init` missing) as it will be waiting for `stdin`
        compared to quitting with error if the file just doesn't exist
      
      Fixes #3006
      edacf827
  18. 27 10月, 2022 1 次提交
  19. 28 12月, 2022 2 次提交
  20. 25 12月, 2022 1 次提交
  21. 27 12月, 2022 1 次提交
  22. 24 12月, 2022 2 次提交
  23. 15 4月, 2022 1 次提交
  24. 01 12月, 2022 1 次提交
  25. 23 12月, 2022 3 次提交
  26. 27 10月, 2022 1 次提交
  27. 23 12月, 2022 1 次提交
  28. 22 12月, 2022 1 次提交
  29. 23 12月, 2022 1 次提交
  30. 27 10月, 2022 3 次提交