@@ -18,6 +18,7 @@ import React from "react"
18
18
import { Allotment } from "allotment"
19
19
import { Loading } from "@kui-shell/plugin-client-common"
20
20
import { Arguments , encodeComponent } from "@kui-shell/core"
21
+ import { defaultGuidebook } from "@kui-shell/client/config.d/client.json"
21
22
22
23
import respawn from "./respawn"
23
24
@@ -55,9 +56,6 @@ type State = Partial<Pick<BaseProps, "cmdline" | "env">> & {
55
56
}
56
57
57
58
class TaskTerminal extends React . PureComponent < Props , State > {
58
- /** Default guidebook to show in the terminal */
59
- private readonly defaultGuidebook = "ml/codeflare"
60
-
61
59
/** Allotment initial split sizes */
62
60
private readonly sizes = [ 40 , 60 ]
63
61
@@ -76,7 +74,7 @@ class TaskTerminal extends React.PureComponent<Props, State> {
76
74
const { argv, env } = await respawn ( this . tasks [ 0 ] . argv )
77
75
const cmdline = [
78
76
...argv . map ( ( _ ) => encodeComponent ( _ ) ) ,
79
- guidebook || this . defaultGuidebook ,
77
+ guidebook || defaultGuidebook ,
80
78
...( guidebook ? [ "--ifor" , guidebook ] : [ ] ) ,
81
79
]
82
80
. filter ( Boolean )
0 commit comments