diff --git a/src/lib/completion_test.rs b/src/lib/completion_test.rs index 0408cbfe..e1fc5ff9 100644 --- a/src/lib/completion_test.rs +++ b/src/lib/completion_test.rs @@ -3,6 +3,8 @@ use std::path::Path; #[cfg(target_os = "linux")] use crate::completion::generate_completion_zsh; + +#[cfg(target_os = "linux")] use std::io::Cursor; // Function to clean up test environment by removing the completion file