consolidate shell integration behind config setting (#5302)

* consolidate shell integration behind config setting

* write output differently
This commit is contained in:
Darren Schroeder
2022-04-23 19:53:12 -05:00
committed by GitHub
parent e2b510b65e
commit 8eab311565
5 changed files with 38 additions and 9 deletions

View File

@@ -147,7 +147,7 @@ pub(crate) fn update_prompt<'prompt>(
(prompt_vi_insert_string, prompt_vi_normal_string),
);
if config.use_ansi_coloring {
if config.shell_integration {
nu_prompt.enable_shell_integration();
}