Skip to content

Improve Symlink Handling #315

@lorenzleutgeb

Description

@lorenzleutgeb

Hi! Thanks for ghq, it's really helpful. I'd like to suggest how to make it even better! ✨

Sometimes I like to create symlinks, especially for very long project names:

~/ghq/github.com/companywithverylongname/projectawithverylongname
~/ghq/github.com/companywithverylongname/projectbwithverylongname
~/ghc/github.com/c   -> ~/ghq/github.com/companywithverylongname
~/ghq/github.com/c/a -> ~/ghq/github.com/companywithverylongname/projectawithverylongname
~/ghq/github.com/c/b -> ~/ghq/github.com/companywithverylongname/projectbwithverylongname

These repositories are listed multiple times:

$ ghq list
github.com/companywithverylongname/a
github.com/companywithverylongname/b
github.com/companywithverylongname/projectawithverylongname
github.com/companywithverylongname/projectbwithverylongname

I'd like ghq to resolve symlinks, i.e. only list the "expanded form" in my use case.

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