mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
add(fish): tmux_last
This commit is contained in:
parent
4eb662e46c
commit
8ccf640808
4 changed files with 27 additions and 12 deletions
|
|
@ -135,7 +135,7 @@ function tmux_sessionizer --description "create tmux sessions"
|
|||
select-window -t $session_name:1 \;
|
||||
end
|
||||
|
||||
# attach or switch
|
||||
set -U TMUX_LAST (tmux display-message -p '#S')
|
||||
if [ -z $TMUX ]
|
||||
tmux attach-session -t $session_name
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue