mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Merge branch 'feat/dynamic-install-dir' of github.com:AikidoSec/safe-chain into feat/dynamic-install-dir
This commit is contained in:
commit
f7324ccfc0
5 changed files with 5 additions and 5 deletions
|
|
@ -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/,
|
||||||
|
|
|
||||||
|
|
@ -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/,
|
||||||
|
|
|
||||||
|
|
@ -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/,
|
||||||
|
|
|
||||||
|
|
@ -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/,
|
||||||
|
|
|
||||||
|
|
@ -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/,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue