update
This commit is contained in:
parent
4fd4da5f7d
commit
478d728b10
3 changed files with 6 additions and 6 deletions
|
|
@ -48,8 +48,11 @@ delete() {
|
|||
}
|
||||
|
||||
window() {
|
||||
current_window=$(tmux display-message -p '#I')
|
||||
|
||||
window=$(tmux list-windows -F '#{window_index} #{window_name}' |
|
||||
sed '/^$/d' |
|
||||
sed "/^$/d" |
|
||||
grep -v "$current_window" |
|
||||
fzf --reverse --header 'Switch Window' --no-preview |
|
||||
cut -d ' ' -f 1)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue