mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 11:30:12 +08:00
fix: load .zshrc in system dir
This commit is contained in:
1 parent
b4a37f7606
commit
e52682686a
2 files changed
+6
-1
No files matched your search
@@ -7,3 +7,4 @@ Speak the words of pow er and awaken the might of Unix:
|
|||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
Unix, rise and guide me!
|
Unix, rise and guide me!
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
@@ -50,7 +50,11 @@ export async function attachContainer(container, { token }) {
|
|||||||
AttachStderr: true,
|
AttachStderr: true,
|
||||||
Cmd: ['/bin/zsh'],
|
Cmd: ['/bin/zsh'],
|
||||||
Tty: true,
|
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({
|
const execOutput = await exec.start({
|
||||||
|
|||||||
Reference in new issue
Block a user