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

fix(venv): make relocatable activation scripts support ksh #5640

Merged
merged 4 commits into from
Jul 31, 2024

Commits on Jul 30, 2024

  1. fix(venv): make relocatable activation scripts support ksh

    It transpires that detecting the directory a script was sourced from
    is non-trivial across `bash`, `ksh` and `zsh`.
    
    The previous version was a one-liner and supported `bash` and `zsh` but
    not `ksh`.
    
    It is possible to keep the one-liner and add `ksh` support, but that
    is mutually-exclusive with `zsh`.
    
    Therefore, the only way to square this circle is to add an `if` block.
    A silver lining here is that although longer, the script is probably
    easier to follow as there is less code-golfing going on.
    paveldikov committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    50041c8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    01517ce View commit details
    Browse the repository at this point in the history
  3. fix loud CDPATH on zsh

    paveldikov committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    a7b135f View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. add ksh in uv-shell

    paveldikov committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    be36240 View commit details
    Browse the repository at this point in the history