From 6284db4f5931a809bc062ea37054c14b108bb77a Mon Sep 17 00:00:00 2001 From: Mat Jones Date: Sun, 19 Dec 2021 16:43:32 -0500 Subject: [PATCH] bump to version 0.1.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/settings.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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;