Make linux prompts a bit better (#13067)

Also prompt with a sensible error on install:cli

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-06-14 16:40:54 -06:00 committed by GitHub
parent 2f6cb49d84
commit fab4b01655
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 138 additions and 0 deletions

View file

@ -168,6 +168,9 @@ fn init_ui(app_state: Arc<AppState>, cx: &mut AppContext) -> Result<()> {
SystemAppearance::init(cx);
load_embedded_fonts(cx);
#[cfg(target_os = "linux")]
crate::zed::linux_prompts::init(cx);
theme::init(theme::LoadThemes::All(Box::new(Assets)), cx);
app_state.languages.set_theme(cx.theme().clone());
command_palette::init(cx);