diff --git a/mise.toml b/mise.toml new file mode 100644 index 0000000..95d23b8 --- /dev/null +++ b/mise.toml @@ -0,0 +1,2 @@ +[tools] +rust = "latest" diff --git a/src/config/config_shell.rs b/src/config/config_shell.rs index f2763e8..cca1d2c 100644 --- a/src/config/config_shell.rs +++ b/src/config/config_shell.rs @@ -2,9 +2,7 @@ use super::{ConnectionProfile, ConnectionSource, ConnectionType, ShellCandidate, use anyhow::{Result, bail}; #[cfg(unix)] use std::fs; -#[cfg(not(unix))] -use std::path::Path; -use std::path::{PathBuf}; +use std::path::{Path, PathBuf}; impl super::SshellConfig { pub fn local_shell_candidates(&self) -> Vec {