Skip to content

More hashbang support - #97

Merged
kurtmckee merged 2 commits into
mainfrom
more-hashbang-support
Feb 19, 2026
Merged

kurtmckee merged 2 commits into
mainfrom
more-hashbang-support

Conversation

@kurtmckee

Copy link
Copy Markdown
Owner

Default styles

  • Support .fish (Fish shell).
  • Support .zsh (zsh shell).
  • Recognize fish, Powershell, R, and zsh file types
    by their hashbang executable name.

Fixed

  • Strip the executable extension (like .exe) before removing version numbers
    when identifying a file type based on its hashbang.

    This resolves a bug that prevented identification of version-specific
    executable names, like python3.14.exe, on Windows platforms.

@kurtmckee kurtmckee self-assigned this Feb 19, 2026
@kurtmckee
kurtmckee merged commit 4c8c789 into main Feb 19, 2026
3 checks passed
@kurtmckee
kurtmckee deleted the more-hashbang-support branch February 19, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant