Skip to content

Does not work on Windows #23

@heaths

Description

@heaths

Describe the bug
Running the extension just after installing it shows,

--: line 1: C:\Users\heaths\AppData\Local\GitHub CLI\extensions\gh-clean-branches\gh-clean-branches: cannot execute: required file not found

This appears to be because it requires zsh instead of bash, the latter of which is installed with git and accessible to any callers.

To Reproduce
Steps to reproduce the behavior:

  1. Install it this extension on Windows.
  2. Just run it.

Expected behavior
Passing with --dry-run should show me watch branches I can delete.

Desktop (please complete the following information):

  • OS: [e.g. iOS] Windows
  • Version [e.g. 22] 11

Additional context
I wrote a GitHub CLI extension using script a while back using bash and can repro this same error if I just change the shebang to require zsh.

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