Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though
This commit is contained in:
@@ -11,14 +11,14 @@ use async_trait::async_trait;
|
||||
use lazy_static::lazy_static;
|
||||
use smol_str::SmolStr;
|
||||
use typed_path::{TypedPath, TypedPathBuf};
|
||||
use warp_completer::completer::{
|
||||
use galaxy_completer::completer::{
|
||||
CommandExitStatus, CommandOutput, CompletionContext, EngineDirEntry, EngineFileType,
|
||||
GeneratorContext, PathCompletionContext, PathSeparators, TopLevelCommandCaseSensitivity,
|
||||
};
|
||||
use warp_completer::signatures::CommandRegistry;
|
||||
use warp_core::features::FeatureFlag;
|
||||
use warp_util::path::{EscapeChar, ShellFamily};
|
||||
use warpui::{AppContext, SingletonEntity};
|
||||
use galaxy_completer::signatures::CommandRegistry;
|
||||
use galaxy_core::features::FeatureFlag;
|
||||
use galaxy_util::path::{EscapeChar, ShellFamily};
|
||||
use galaxyui::{AppContext, SingletonEntity};
|
||||
|
||||
use crate::safe_warn;
|
||||
use crate::terminal::model::session::{ExecuteCommandOptions, Session, SessionType};
|
||||
@@ -320,10 +320,10 @@ impl CompletionContext for SessionContext {
|
||||
}
|
||||
|
||||
#[cfg(feature = "completions_v2")]
|
||||
fn js_context(&self) -> Option<&dyn warp_completer::completer::JsExecutionContext> {
|
||||
fn js_context(&self) -> Option<&dyn galaxy_completer::completer::JsExecutionContext> {
|
||||
self.js_ctx
|
||||
.as_ref()
|
||||
.map(|ctx| -> &dyn warp_completer::completer::JsExecutionContext { ctx })
|
||||
.map(|ctx| -> &dyn galaxy_completer::completer::JsExecutionContext { ctx })
|
||||
}
|
||||
|
||||
fn shell_family(&self) -> Option<ShellFamily> {
|
||||
@@ -459,7 +459,7 @@ fn ls_script_for_dir(directory: &TypedPath) -> Option<String> {
|
||||
log::warn!("Non-unicode character found in path: `{directory:?}`");
|
||||
return None;
|
||||
};
|
||||
let escaped_dir = warp_util::path::ShellFamily::Posix.shell_escape(dir_str);
|
||||
let escaped_dir = galaxy_util::path::ShellFamily::Posix.shell_escape(dir_str);
|
||||
|
||||
// Get all directories with -print0, which makes all items end in `\0` (null character)
|
||||
// Get all files with -print0, which makes all items end in `\0`
|
||||
|
||||
Reference in New Issue
Block a user