Fork point for agent-zed. Editor core retained; AI/telemetry/cloud layers to be ripped and replaced per FORK_MAP.md. Co-Authored-By: Claude Opus 4.8 <[email protected]>
12 lines
323 B
Shell
Executable file
12 lines
323 B
Shell
Executable file
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
mode=${1:-error}
|
|
[[ "$mode" =~ ^(error|warning)$ ]] || { echo "Usage: $0 [error|warning]"; exit 1; }
|
|
|
|
cd "$(dirname "$0")/.." || exit 1
|
|
|
|
find script -maxdepth 1 -type f -print0 |
|
|
xargs -0 grep -l -E '^#!(/bin/|/usr/bin/env )(sh|bash|dash)' |
|
|
xargs -r shellcheck -x -S "$mode" -C
|