From 3f66614818ec00f04b798b954bdf6b4ee057ed7c Mon Sep 17 00:00:00 2001 From: Denis Isidoro Date: Mon, 16 Mar 2020 10:22:37 -0300 Subject: [PATCH] Bump --- Cargo.lock | 17 +---------------- Cargo.toml | 7 ++++--- src/cmds/repo.rs | 2 +- 3 files changed, 6 insertions(+), 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1d4a98f..d840659 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -209,25 +209,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)", - "libssh2-sys 0.2.16 (registry+https://github.com/rust-lang/crates.io-index)", "libz-sys 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)", "openssl-sys 0.9.54 (registry+https://github.com/rust-lang/crates.io-index)", "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "libssh2-sys" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)", - "libz-sys 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl-sys 0.9.54 (registry+https://github.com/rust-lang/crates.io-index)", - "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)", - "vcpkg 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "libz-sys" version = "1.0.25" @@ -259,7 +245,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "navi" -version = "2.1.2" +version = "2.1.3" dependencies = [ "dirs 2.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "git2 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -685,7 +671,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "checksum lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" "checksum libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)" = "eb147597cdf94ed43ab7a9038716637d2d1bf2bc571da995d0028dec06bd3018" "checksum libgit2-sys 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "4870c781f6063efb83150cd22c1ddf6ecf58531419e7570cdcced46970f64a16" -"checksum libssh2-sys 0.2.16 (registry+https://github.com/rust-lang/crates.io-index)" = "7bb70f29dc7c31d32c97577f13f41221af981b31248083e347b7f2c39225a6bc" "checksum libz-sys 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)" = "2eb5e43362e38e2bca2fd5f5134c4d4564a23a5c28e9b95411652021a8675ebe" "checksum log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7" "checksum matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" diff --git a/Cargo.toml b/Cargo.toml index 520a5ff..456a483 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "navi" -version = "2.1.2" +version = "2.1.3" authors = ["Denis Isidoro "] edition = "2018" description = "An interactive cheatsheet tool for the command-line" @@ -24,14 +24,15 @@ dirs = "2.0.0" terminal_size = "0.1.10" walkdir = "2" - [dependencies.git2] version = "0.10.0" default-features = false features = ["https"] [target.'cfg(target_os = "macos")'.dependencies.git2] -features = [ "vendored-openssl" ] +version = "0.10.0" +default-features = false +features = ["vendored-openssl"] [[bin]] bench = false diff --git a/src/cmds/repo.rs b/src/cmds/repo.rs index 3bc4324..ab9208c 100644 --- a/src/cmds/repo.rs +++ b/src/cmds/repo.rs @@ -37,7 +37,7 @@ pub fn add(uri: String) -> Result<(), Box> { let overrides = "--preview-window right:30%".to_string(); let opts = fzf::Opts { suggestion_type: SuggestionType::MultipleSelections, - preview: Some(format!("cat {}/{{}}", tmp_path_str_with_trailing_slash)), + preview: Some(format!("cat '{}/{{}}'", tmp_path_str)), header: Some( "Select the cheatsheets you want to import with then hit ".to_string(), ),