cleaned up
This commit is contained in:
parent
e645252012
commit
e49b46591c
3 changed files with 3 additions and 14 deletions
|
@ -214,7 +214,9 @@ pub fn new(pargs: &mut Arguments) {
|
|||
let tmux = TmuxCommand::new();
|
||||
let mut new = tmux.new_session();
|
||||
|
||||
if command.is_some() { new.shell_command(command.unwrap().to_string_lossy()) } else { &mut new }
|
||||
if command.is_some() { new.shell_command(command.unwrap().to_string_lossy()); }
|
||||
|
||||
new
|
||||
.group_name(title)
|
||||
.attach()
|
||||
.start_directory(target_dir.unwrap_or(current_dir().unwrap().to_string_lossy().to_string()))
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
use std::env::var;
|
||||
|
||||
use tmux_interface::Command;
|
||||
|
||||
pub fn new() {
|
||||
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
|
||||
pub fn main() {
|
||||
println!("do tui shit here");
|
||||
}
|
||||
|
Loading…
Reference in a new issue