diff --git a/Cargo.lock b/Cargo.lock index 370548d..59d72cc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -226,7 +226,7 @@ dependencies = [ [[package]] name = "ctrlg" -version = "0.0.3" +version = "0.1.0" dependencies = [ "config", "dirs-next", diff --git a/Cargo.toml b/Cargo.toml index ff22250..c0fc84f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ctrlg" description = "A command line context switcher, written in Rust" -version = "0.0.3" +version = "0.1.0" edition = "2021" license = "MIT" diff --git a/src/settings.rs b/src/settings.rs index 243c9af..f604d6a 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -15,7 +15,7 @@ pub struct Settings { fn is_program_in_path(program: &str) -> bool { if let Ok(path) = env::var("PATH") { - for p in path.split(":") { + for p in path.split(':') { let p_str = format!("{}/{}", p, program); if fs::metadata(p_str).is_ok() { return true;