Update packages/safe-chain/src/shell-integration/supported-shells/bash.js

Co-authored-by: aikido-pr-checks[bot] <169896070+aikido-pr-checks[bot]@users.noreply.github.com>
This commit is contained in:
Reinier Criel 2026-04-10 15:20:53 -07:00 committed by GitHub
parent d7400a0bc0
commit 8cf41dc4a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,7 +35,7 @@ function teardown(tools) {
);
}
// Removes the line that sources the safe-chain bash initialization script (any path, requires safe-chain comment)
// Marker comment ensures only safe-chain-added lines are removed, not user's own source statements
removeLinesMatchingPattern(
startupFile,
/^source\s+.*init-posix\.sh.*#\s*Safe-chain/,