Sitelet https://github.com/casey/just/issues/3104
Skip to content

Add relative_path() to help with multi-platform relpath computation #3104

Description

@nyurik

At first I was using relpath bash util in all the scripts, until I learnt that it totally breaks on MacOS which even forces bash to be ran as zsh. It would be very helpful to have an OS-agnostic way to compute a relative path between two paths, i.e. similar to strip_prefix

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions