diff --git a/Cargo.lock b/Cargo.lock index 50334cd..bb3a378 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1133,7 +1133,7 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "xplr" -version = "0.1.3" +version = "0.1.4" dependencies = [ "criterion", "crossterm", diff --git a/Cargo.toml b/Cargo.toml index 2973e8d..0a6e0c1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xplr" -version = "0.1.3" +version = "0.1.4" authors = ["Arijit Basu "] edition = "2018" description = "An experimental, minimal, configurable TUI file explorer, stealing ideas from nnn and fzf." diff --git a/src/config.rs b/src/config.rs index f2c39f9..89cb251 100644 --- a/src/config.rs +++ b/src/config.rs @@ -227,8 +227,7 @@ impl Default for KeyBindings { command: bash args: - "-c" - - "xdg-open {{shell_escape absolutePath}} x" - - Quit + - "xdg-open {{shell_escape absolutePath}} &> /dev/null" e: help: edit actions: diff --git a/src/main.rs b/src/main.rs index 80dd6ae..f691dcd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -12,7 +12,6 @@ use xplr::error::Error; use xplr::input::Key; use xplr::ui; -handlebars_helper!(hex: |v: i64| format!("0x{:x}", v)); handlebars_helper!(shell_escape: |v: str| format!("{}", shellwords::escape(v))); fn main() -> Result<(), Error> {