diff --git a/src/commands/vm.ts b/src/commands/vm.ts index 3277280..f9c39a0 100644 --- a/src/commands/vm.ts +++ b/src/commands/vm.ts @@ -53,7 +53,7 @@ export function register(program: Command) { .description("Show VM system info (via neofetch)") .action(async () => { await vm.ensure() - await vm.info() + await vm.neofetch() }) vmCmd diff --git a/src/vm.ts b/src/vm.ts index c453999..6425491 100644 --- a/src/vm.ts +++ b/src/vm.ts @@ -288,7 +288,7 @@ export async function shell(workdir?: string): Promise { } /** Run neofetch in the container. */ -export async function info(): Promise { +export async function neofetch(): Promise { const proc = Bun.spawn( ["container", "exec", "--user", USER, CONTAINER_NAME, "env", `PATH=${CONTAINER_PATH}`, "neofetch"], { stdin: "inherit", stdout: "inherit", stderr: "inherit" },