This commit is contained in:
DeveloperDurp 2025-04-07 06:14:12 -05:00
parent 4fd4da5f7d
commit 478d728b10
3 changed files with 6 additions and 6 deletions

View file

@ -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)