cleaned up

This commit is contained in:
Valerie Wolfe 2023-05-01 14:25:53 -04:00
parent e645252012
commit e49b46591c
3 changed files with 3 additions and 14 deletions

View file

@ -214,7 +214,9 @@ pub fn new(pargs: &mut Arguments) {
let tmux = TmuxCommand::new(); let tmux = TmuxCommand::new();
let mut new = tmux.new_session(); 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) .group_name(title)
.attach() .attach()
.start_directory(target_dir.unwrap_or(current_dir().unwrap().to_string_lossy().to_string())) .start_directory(target_dir.unwrap_or(current_dir().unwrap().to_string_lossy().to_string()))

View file

@ -1,8 +0,0 @@
use std::env::var;
use tmux_interface::Command;
pub fn new() {
}

View file

@ -1,5 +0,0 @@
pub fn main() {
println!("do tui shit here");
}