Skip to content

FR: Dynamic multiline based on presence of git repo #64

@pdc1

Description

@pdc1

Hello, this is an amazing master class in what can be done in fish shell with very little code!

I have a git environment where the repo and branch names are quite long. It would be wonderful if the script could detect that there was a git repo, and if so, switch to multiline mode.

Then for normal use (no git) the prompt and path would be on the same line, and when part of a git repo, the prompt would be on a second line to allow for the git repo/branch display.

I realize given the async nature of the git updates that it may not be possible, but I thought I would ask.

Thanks!

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