1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Change notification message

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-09-14 12:36:12 -04:00
parent f4d2be5053
commit 86d810ea8e

View File

@ -120,9 +120,12 @@ export class TerminalStore extends Singleton {
const rcIsFinished = when(() => this.connections.get(tab.id).shellRunCommandsFinished);
const notifyVeryLong = setTimeout(() => {
rcIsFinished.cancel();
Notifications.info("Terminal shell is taking a long time to complete startup. Bypassing shell completion check.", {
timeout: 4_000,
});
Notifications.info(
"If terminal shell is not ready please check your shell init files, if applicable. You may see this message if you have set a custom shell prompt.",
{
timeout: 4_000,
},
);
}, 10_000);
await rcIsFinished.catch(noop);