fix: load .zshrc in system dir

This commit is contained in:
Lin, Hung-Shin authored and wancat committed 2023-10-29 17:41:38 +08:00
1 parent b4a37f7606
commit e52682686a
2 files changed
+7 -2

No files matched your search

+5 -1
View File
@@ -50,7 +50,11 @@ export async function attachContainer(container, { token }) {
AttachStderr: true,
Cmd: ['/bin/zsh'],
Tty: true,
Env: [`TOKEN=${token}`, `API_ENDPOINT=http://backend:3000`],
Env: [
`TOKEN=${token}`,
`API_ENDPOINT=http://backend:3000`,
'ZDOTDIR=/etc/zsh',
],
})
const execOutput = await exec.start({