Skip to content

Instantly share code, notes, and snippets.

View Ch00k's full-sized avatar
🪒
chasing rabbits, shaving yaks, painting sheds

Andrii Yurchuk Ch00k

🪒
chasing rabbits, shaving yaks, painting sheds
View GitHub Profile
@acdvorak
acdvorak / tmux-all-panes.sh
Last active August 6, 2021 17:09 — forked from yubink/inall.sh
tmux: run a command in all panes
#!/bin/bash
# Runs the specified command (provided by the first argument) in all tmux panes
# in every window. If an application is currently running in a given pane
# (e.g., vim), it is suspended and then resumed so the command can be run.
all-panes()
{
all-panes-bg_ "$1" &
}