diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-03-01 18:21:45 -0500 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-03-01 18:21:45 -0500 |
commit | 8bc73974e78883eb1f619d1829a8be77933e5c00 (patch) | |
tree | 93bb6812961763cfd608c0ffff526f2eb8865a96 /src/commands | |
parent | 24eea55e4191943e84b8089d8ac92c92d316172d (diff) |
fix issue where open_with does not work
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/open_file.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/commands/open_file.rs b/src/commands/open_file.rs index 405a286..ee70151 100644 --- a/src/commands/open_file.rs +++ b/src/commands/open_file.rs @@ -125,7 +125,6 @@ impl OpenFileWith { "option does not exist".to_owned(), )), Ok(n) => { - let mimetype_entry = &mimetype_options[n]; if mimetype_entry.get_fork() { mimetype_entry.execute_with(paths) @@ -138,7 +137,6 @@ impl OpenFileWith { } Err(_) => { let mut args_iter = user_input.split_whitespace(); - args_iter.next(); match args_iter.next() { Some(cmd) => { backend.terminal_drop(); |