mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 14:12:41 +00:00
feat: cleans up tmux config and updates to tmux-sessionator
This commit is contained in:
@@ -78,7 +78,8 @@ fi
|
||||
|
||||
# Create a session if it doesn't exist.
|
||||
if ! tmux has-session -t "$selected_name" 2> /dev/null; then
|
||||
tmux new-session -ds "$selected_name" -c "$selected"
|
||||
tmux new-session -ds "$selected_name" -c "$selected" -n "editor" "${EDITOR} ."
|
||||
tmux new-window -d -n "terminal" -c "$selected"
|
||||
fi
|
||||
|
||||
[ -z $TMUX ] && tmux attach -t "$selected_name" \
|
||||
|
||||
Reference in New Issue
Block a user