diff --git a/home/user/.config/tmux/mappings.conf b/home/user/.config/tmux/mappings.conf index 48b77f1..6212900 100644 --- a/home/user/.config/tmux/mappings.conf +++ b/home/user/.config/tmux/mappings.conf @@ -25,7 +25,7 @@ bind-key s choose-tree -ZsK '#{?#{e|<:#{line},9},#{e|+:1,#{line}},#{?#{e|<:#{lin # Switch new named session -bind n command-prompt -p "New session:" "new-session -A -d -s '%1' \; switch-client -t '%1'" +bind n command-prompt -p "New session:" "new-session -A -d -s '%1' -c ~ \; switch-client -t '%1'" # Kill session and reattach to last session