aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/tmux-pane-idx
blob: 7da534f65eb7bc32c3941fb942737edfe3d2c702 (plain)
1
2
3
4
#!/bin/bash

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