import path from "node:path";
export function resolveShell() {
    return process.env.SHELL ?? "/bin/bash";
}
export function getShellName(shellPath) {
    return path.basename(shellPath ?? resolveShell());
}
//# sourceMappingURL=shell.js.map