Add aliases to the bulk run script output.
This commit is contained in:
parent
4325ac95f1
commit
73c0846b25
|
@ -154,7 +154,7 @@ async function actionHandler(
|
||||||
const commands = constructedCommands.map((c) => c.join(" ")).join("\n");
|
const commands = constructedCommands.map((c) => c.join(" ")).join("\n");
|
||||||
await Deno.writeTextFile(
|
await Deno.writeTextFile(
|
||||||
filename ?? defaultFilename,
|
filename ?? defaultFilename,
|
||||||
`#!/usr/bin/env zsh\n\n${commands}`,
|
`#!/usr/bin/env zsh\n\nsource "$HOME/.aliases.zsh"\n\n${commands}`,
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
console.log("\n## Output");
|
console.log("\n## Output");
|
||||||
|
|
Loading…
Reference in New Issue