update
This commit is contained in:
parent
4481e4ceaf
commit
1110cf573c
5 changed files with 15 additions and 2 deletions
|
|
@ -29,6 +29,7 @@ switch() {
|
|||
|
||||
tmux list-sessions -F '#{?session_attached,,#{session_name}}' |
|
||||
sed '/^popup/d' |
|
||||
sed '/^scratch/d' |
|
||||
sed '/^$/d' |
|
||||
fzf --reverse --header 'Switch Session' --preview 'tmux capture-pane -pt {}' \
|
||||
--bind 'enter:execute(tmux switch-client -t {})+accept'
|
||||
|
|
@ -39,6 +40,8 @@ delete() {
|
|||
|
||||
tmux list-sessions -F '#{?session_attached,,#{session_name}}' |
|
||||
sed '/^popup/d' |
|
||||
sed '/^scratch/d' |
|
||||
sed '/^general/d' |
|
||||
sed '/^$/d' |
|
||||
fzf --reverse --header 'Delete Session' --preview 'tmux capture-pane -pt {}' \
|
||||
--bind 'enter:execute(tmux kill-session -t {})+accept'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue