Merge branch 'feat/dynamic-install-dir' of github.com:AikidoSec/safe-chain into feat/dynamic-install-dir

This commit is contained in:
Reinier Criel 2026-04-13 12:22:03 -07:00
commit f7324ccfc0
5 changed files with 5 additions and 5 deletions

View file

@ -34,7 +34,7 @@ function teardown(tools) {
); );
} }
// Removes the line that sources the safe-chain bash initialization script. // Remove sourcing line to disable safe-chain shell integration
removeLinesMatchingPattern( removeLinesMatchingPattern(
startupFile, startupFile,
/^source\s+.*init-posix\.sh.*#\s*Safe-chain/, /^source\s+.*init-posix\.sh.*#\s*Safe-chain/,

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/,

View file

@ -32,7 +32,7 @@ function teardown(tools) {
); );
} }
// Removes the line that sources the safe-chain PowerShell initialization script. // Remove sourcing line to prevent shell from loading safe-chain after uninstallation
removeLinesMatchingPattern( removeLinesMatchingPattern(
startupFile, startupFile,
/^\.\s+["']?.*init-pwsh\.ps1["']?.*#\s*Safe-chain/, /^\.\s+["']?.*init-pwsh\.ps1["']?.*#\s*Safe-chain/,

View file

@ -32,7 +32,7 @@ function teardown(tools) {
); );
} }
// Removes the line that sources the safe-chain PowerShell initialization script. // Remove sourcing line to clean up safe-chain integration from the shell profile
removeLinesMatchingPattern( removeLinesMatchingPattern(
startupFile, startupFile,
/^\.\s+["']?.*init-pwsh\.ps1["']?.*#\s*Safe-chain/, /^\.\s+["']?.*init-pwsh\.ps1["']?.*#\s*Safe-chain/,

View file

@ -33,7 +33,7 @@ function teardown(tools) {
); );
} }
// Removes the line that sources the safe-chain zsh initialization script. // Remove sourcing line to complete shell integration cleanup
removeLinesMatchingPattern( removeLinesMatchingPattern(
startupFile, startupFile,
/^source\s+.*init-posix\.sh.*#\s*Safe-chain/, /^source\s+.*init-posix\.sh.*#\s*Safe-chain/,