1
Fork 0

Add aliases to the bulk run script output.

This commit is contained in:
Bauke 2023-03-18 15:27:06 +01:00
parent 4325ac95f1
commit 73c0846b25
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ async function actionHandler(
const commands = constructedCommands.map((c) => c.join(" ")).join("\n");
await Deno.writeTextFile(
filename ?? defaultFilename,
`#!/usr/bin/env zsh\n\n${commands}`,
`#!/usr/bin/env zsh\n\nsource "$HOME/.aliases.zsh"\n\n${commands}`,
);
} else {
console.log("\n## Output");