Update packages/safe-chain/src/shell-integration/supported-shells/fish.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-13 11:17:15 -07:00 committed by GitHub
parent f07d0ea888
commit 5bbf3da576
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,7 +33,7 @@ function teardown(tools) {
); );
} }
// Removes the line that sources the safe-chain fish initialization script. // Remove sourcing line to prevent safe-chain initialization in future shell sessions
removeLinesMatchingPattern( removeLinesMatchingPattern(
startupFile, startupFile,
/^source\s+.*init-fish\.fish.*#\s*Safe-chain/, /^source\s+.*init-fish\.fish.*#\s*Safe-chain/,