aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/tmux-pane-idx
blob: 40a6184e75538e1ab24f32d7c1f1ecceaec8b96e (plain)
1
2
3
4
#!/usr/bin/env bash

# Prints the tmux pane index.
tmux display -pt "${TMUX_PANE:?}" '#{pane_index}'