This commit is contained in:
WindSoilder 2022-08-01 19:16:10 +08:00
parent a9f31dd95c
commit c5aa428c9f
2 changed files with 5 additions and 3 deletions

View File

@ -13,7 +13,9 @@ use nu_protocol::{Category, Example, ListStream, PipelineData, RawStream, Span,
use itertools::Itertools;
use nu_engine::CallExt;
use nu_system::external_process_setup::{reset_foreground_id, set_foreground, prepare_to_foreground};
use nu_system::external_process_setup::{
prepare_to_foreground, reset_foreground_id, set_foreground,
};
use pathdiff::diff_paths;
use regex::Regex;

View File

@ -1,15 +1,15 @@
mod foreground;
#[cfg(any(target_os = "android", target_os = "linux"))]
mod linux;
#[cfg(target_os = "macos")]
mod macos;
#[cfg(target_os = "windows")]
mod windows;
mod foreground;
pub use self::foreground::external_process_setup;
#[cfg(any(target_os = "android", target_os = "linux"))]
pub use self::linux::*;
#[cfg(target_os = "macos")]
pub use self::macos::*;
#[cfg(target_os = "windows")]
pub use self::windows::*;
pub use self::foreground::external_process_setup;