Skip to content

Commit eac9410

Browse files
committed
fix: formatting and linting fixes
1 parent 216c28e commit eac9410

17 files changed

Lines changed: 563 additions & 581 deletions
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: warn-cat-alias
3+
enabled: true
4+
event: bash
5+
pattern: ^cat\s+
6+
action: warn
7+
---
8+
9+
**`cat` is aliased to `bat --color=always` on this system.**
10+
11+
Using `cat` will inject ANSI escape codes into output. This corrupts:
12+
- File contents when redirecting (`cat file > other`)
13+
- Git commit messages when used in heredocs
14+
- Any pipeline expecting plain text
15+
16+
**Use instead:**
17+
- `command cat` for plain text output
18+
- The **Read** tool to read files
19+
- The **Write** tool to create files

.serena/project.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,17 @@ symbol_info_budget:
136136
# list of regex patterns which, when matched, mark a memory entry as read‑only.
137137
# Extends the list from the global configuration, merging the two lists.
138138
read_only_memory_patterns: []
139+
140+
# list of regex patterns for memories to completely ignore.
141+
# Matching memories will not appear in list_memories or activate_project output
142+
# and cannot be accessed via read_memory or write_memory.
143+
# To access ignored memory files, use the read_file tool on the raw file path.
144+
# Extends the list from the global configuration, merging the two lists.
145+
# Example: ["_archive/.*", "_episodes/.*"]
146+
ignored_memory_patterns: []
147+
148+
# advanced configuration option allowing to configure language server-specific options.
149+
# Maps the language key to the options.
150+
# Have a look at the docstring of the constructors of the LS implementations within solidlsp (e.g., for C# or PHP) to see which options are available.
151+
# No documentation on options means no options are available.
152+
ls_specific_settings: {}

0 commit comments

Comments
 (0)