mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +02:00
Print shell name in path setup warning
This commit is contained in:
@@ -87,8 +87,12 @@ pub fn verify_path_setup() -> Result<(), String> {
|
|||||||
Ok(_) => Err(shell.to_string()),
|
Ok(_) => Err(shell.to_string()),
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
eprintln!(
|
eprintln!(
|
||||||
"\nWarning: could not run login shell, skipping PATH setup check: {}",
|
"\n{}",
|
||||||
err
|
wrap(&format!(
|
||||||
|
"Warning: could not run {} as a login shell, skipping PATH setup check: \
|
||||||
|
{}",
|
||||||
|
shell.bright_white(), err
|
||||||
|
))
|
||||||
);
|
);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user