mirror of
https://github.com/khairul169/home-lab.git
synced 2025-04-28 16:49:36 +07:00
feat: add custom working dir for terminal app
This commit is contained in:
parent
4dfa1decfe
commit
0f6b9d6a74
@ -9,7 +9,7 @@ export const createTerminalSession = (client: TerminalClient) => {
|
|||||||
name: "xterm-color",
|
name: "xterm-color",
|
||||||
cols: 80,
|
cols: 80,
|
||||||
rows: 24,
|
rows: 24,
|
||||||
cwd: process.env.PWD,
|
cwd: process.env.TERMINAL_PWD || process.env.PWD,
|
||||||
env: process.env,
|
env: process.env,
|
||||||
});
|
});
|
||||||
client.tty = tty;
|
client.tty = tty;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user