summaryrefslogtreecommitdiffstats
path: root/src/shell_menu.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/shell_menu.rs')
-rw-r--r--src/shell_menu.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shell_menu.rs b/src/shell_menu.rs
index cbe32fc..4bb9932 100644
--- a/src/shell_menu.rs
+++ b/src/shell_menu.rs
@@ -52,12 +52,12 @@ impl ShellMenu {
.directory_of_selected()?
.to_str()
.context("event_shell: couldn't parse the directory")?;
- execute_in_child_without_output(&status.opener.terminal, &vec!["-d", path, "-e", command])?;
+ execute_in_child_without_output(&status.opener.terminal, &["-d", path, "-e", command])?;
Ok(())
}
fn simple(status: &Status, command: &str) -> Result<()> {
- execute_in_child_without_output(&status.opener.terminal, &vec!["-e", command])?;
+ execute_in_child_without_output(&status.opener.terminal, &["-e", command])?;
Ok(())
}