Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Download using the [GitHub .zip download](https://github.com/dracula/zsh-syntax-

```bash
# ...
source /some/path/to/your/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source /some/path/to/your/zsh-syntax-highlighting/zsh-syntax-highlighting.sh
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Restore .zsh extension in the example source line.

The upstream zsh-syntax-highlighting plugin ships zsh-syntax-highlighting.zsh, and this is the file users are instructed to source in their .zshrc. Switching the example to .sh points to a non-existent path and will break the activation instructions. Please keep the .zsh suffix here.

-      source /some/path/to/your/zsh-syntax-highlighting/zsh-syntax-highlighting.sh
+      source /some/path/to/your/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
source /some/path/to/your/zsh-syntax-highlighting/zsh-syntax-highlighting.sh
source /some/path/to/your/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
🤖 Prompt for AI Agents
In INSTALL.md around line 23, the example source path uses the incorrect .sh
extension which points to a non-existent file; change the filename in the
example back to zsh-syntax-highlighting.zsh so the source line matches the
upstream plugin and will correctly activate when added to users' .zshrc.

# ...
```

Expand Down