Use functions to wrap package managers and detect if the aikido commands are available

This commit is contained in:
Sander Declerck 2025-07-23 11:36:45 +02:00
parent ccce2279c9
commit ca5d3ecb2a
No known key found for this signature in database
4 changed files with 118 additions and 45 deletions

View file

@ -81,7 +81,7 @@ function setupShell(shell) {
}
function copyStartupFiles() {
const startupFiles = ["init-posix.sh", "init-pwsh.ps1"];
const startupFiles = ["init-posix.sh", "init-pwsh.ps1", "init-fish.fish"];
for (const file of startupFiles) {
const targetDir = path.join(os.homedir(), ".safe-chain", "scripts");