You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- If files changed, skim the diff to ensure new content reflects your rule updates.
89
+
- Commit regenerated files together with the rule change so other contributors stay in sync.
90
+
91
+
## Troubleshooting
92
+
- If `pnpm run ruler:check` reports a dirty tree, run `git status --short` to see which files still differ.
93
+
- For merge conflicts in generated files, resolve them in the source `.ruler/` Markdown first, re-run `/ruler-apply`, then commit the regenerated outputs.
94
+
- When `.gitignore` changes unexpectedly, confirm `[gitignore].enabled` in `.ruler/ruler.toml` matches the desired setting before re-running the command.
95
+
96
+
---
97
+
Source: .ruler/shell-usage.md
98
+
---
99
+
# Shell Usage Standard (Fish)
100
+
101
+
This repository uses the Fish shell for interactive commands and automation snippets, aligned with the system configuration. Prefer Fish for new scripts and examples.
102
+
103
+
## Policy
104
+
- Default shell: Fish (`#!/usr/bin/env fish`).
105
+
- Provide Fish snippets for automation examples; keep Bash as optional fallback when helpful.
106
+
- Keep one-file, shell-agnostic command sequences unchanged when they work in both shells.
107
+
108
+
## Conventions
109
+
- Variables: `set NAME value` (no `=`). Export: `set -x NAME value`.
110
+
- Arrays/lists: `set items a b c`; append: `set items $items d`.
111
+
- Conditionals: `if test -f file; ...; end`; switches: `switch $var; case value; ...; end`.
112
+
- Substitution: `set VAR (command ...)`.
113
+
- PATH: `set -x PATH /new/bin $PATH`.
114
+
115
+
## Shebangs
116
+
- Use `#!/usr/bin/env fish` for executable scripts.
117
+
118
+
## Compatibility Notes
119
+
- Avoid `set -euo pipefail`; Fish handles errors differently. Use explicit checks or `status` as needed.
120
+
- When porting Bash snippets, verify quoting and list handling.
- If files changed, skim the diff to ensure new content reflects your rule updates.
380
-
- Commit regenerated files together with the rule change so other contributors stay in sync.
381
-
382
-
## Troubleshooting
383
-
- If `pnpm run ruler:check` reports a dirty tree, run `git status --short` to see which files still differ.
384
-
- For merge conflicts in generated files, resolve them in the source `.ruler/` Markdown first, re-run `/ruler-apply`, then commit the regenerated outputs.
385
-
- When `.gitignore` changes unexpectedly, confirm `[gitignore].enabled` in `.ruler/ruler.toml` matches the desired setting before re-running the command.
@@ -442,32 +478,6 @@ Use Serena MCP for structured app development and debugging.
442
478
- Use `--focus=AREA` for domain-specific analysis
443
479
- Combine related problems in single session
444
480
445
-
---
446
-
Source: .ruler/shell-usage.md
447
-
---
448
-
# Shell Usage Standard (Fish)
449
-
450
-
This repository uses the Fish shell for interactive commands and automation snippets, aligned with the system configuration. Prefer Fish for new scripts and examples.
451
-
452
-
## Policy
453
-
- Default shell: Fish (`#!/usr/bin/env fish`).
454
-
- Provide Fish snippets for automation examples; keep Bash as optional fallback when helpful.
455
-
- Keep one-file, shell-agnostic command sequences unchanged when they work in both shells.
456
-
457
-
## Conventions
458
-
- Variables: `set NAME value` (no `=`). Export: `set -x NAME value`.
459
-
- Arrays/lists: `set items a b c`; append: `set items $items d`.
460
-
- Conditionals: `if test -f file; ...; end`; switches: `switch $var; case value; ...; end`.
461
-
- Substitution: `set VAR (command ...)`.
462
-
- PATH: `set -x PATH /new/bin $PATH`.
463
-
464
-
## Shebangs
465
-
- Use `#!/usr/bin/env fish` for executable scripts.
466
-
467
-
## Compatibility Notes
468
-
- Avoid `set -euo pipefail`; Fish handles errors differently. Use explicit checks or `status` as needed.
469
-
- When porting Bash snippets, verify quoting and list handling.
0 commit comments