fixes sessionizer
This commit is contained in:
parent
8ff5626cd8
commit
30bb8fea25
1 changed files with 3 additions and 3 deletions
|
|
@ -79,15 +79,15 @@
|
|||
set -l tmux_runnning (pgrep tmux)
|
||||
|
||||
if test -z $TMUX && -z @tmux_running
|
||||
tmux new-session -s $selected_name -c $selected
|
||||
tmux new-session -s $session_name -c $selected
|
||||
return 0
|
||||
end
|
||||
|
||||
if not tmux has-session -t=$selected_name 2> /dev/null
|
||||
tmux new-session -ds $selected_name -c $selected
|
||||
tmux new-session -ds $session_name -c $selected
|
||||
end
|
||||
|
||||
tmux switch-client -t $selected_name
|
||||
tmux switch-client -t $session_name
|
||||
'';
|
||||
nn = /* fish */ ''
|
||||
# Require a title argument
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue