mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 10:25:42 +02:00
committed by
GitHub
parent
362bb1bea3
commit
f14c0df582
@ -718,6 +718,18 @@ pub async fn cli(
|
||||
let _ = load_plugins(&mut context);
|
||||
|
||||
let (mut rl, config) = set_rustyline_configuration();
|
||||
|
||||
let skip_welcome_message = config
|
||||
.get("skip_welcome_message")
|
||||
.map(|x| x.is_true())
|
||||
.unwrap_or(false);
|
||||
if !skip_welcome_message {
|
||||
println!(
|
||||
"Welcome to Nushell {} (type 'help' for more info)",
|
||||
clap::crate_version!()
|
||||
);
|
||||
}
|
||||
|
||||
let use_starship = config
|
||||
.get("use_starship")
|
||||
.map(|x| x.is_true())
|
||||
|
Reference in New Issue
Block a user