mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
fix: convert all shell scripts to LF line endings for Linux/WSL compatibility
- Convert all .sh files from CRLF to LF line endings - Add .gitattributes to enforce LF for shell scripts - Fix "bash\r: No such file or directory" error in WSL environments This resolves the installation failure on WSL/Linux systems where Windows CRLF line endings cause shell scripts to fail. Related to #1 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
32
.gitattributes
vendored
Normal file
32
.gitattributes
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
# Auto detect text files and perform LF normalization
|
||||
* text=auto
|
||||
|
||||
# Shell scripts must use LF line endings (Unix style)
|
||||
*.sh text eol=lf
|
||||
|
||||
# Batch/PowerShell scripts can use CRLF (Windows style)
|
||||
*.bat text eol=crlf
|
||||
*.cmd text eol=crlf
|
||||
*.ps1 text eol=crlf
|
||||
|
||||
# Python scripts should use LF
|
||||
*.py text eol=lf
|
||||
|
||||
# Common text files
|
||||
*.md text
|
||||
*.txt text
|
||||
*.json text
|
||||
*.yaml text
|
||||
*.yml text
|
||||
*.toml text
|
||||
|
||||
# Binary files (no line ending conversion)
|
||||
*.png binary
|
||||
*.jpg binary
|
||||
*.jpeg binary
|
||||
*.gif binary
|
||||
*.ico binary
|
||||
*.zip binary
|
||||
*.tar binary
|
||||
*.gz binary
|
||||
*.pdf binary
|
||||
Reference in New Issue
Block a user