#!/usr/bin/env bash buffers=($(tmux list-buffer | cut -f1 -d ":")) for i in "${buffers[@]}"; do tmux delete-buffer -b "$i" done