=== modified file 'tmux-browse' --- tmux-browse 2012-08-08 02:14:38 +0000 +++ tmux-browse 2011-11-03 15:34:48 +0000 @@ -1,23 +1,45 @@ #!/bin/zsh #set -x -zparseopts h=a_help -help=a_help p=a_ps +zparseopts h=a_help -help=a_help a=a_all c=a_clients p=a_panes l=a_layout b=a_buffers if [ -n "$a_help" ] then echo "usage: `basename $0` [options]" echo "options:" echo " -h this help" - echo " -p show process tree" + echo " -a all: synonymous to -cplb" + echo " -c show clients" + echo " -p show panes" + echo " -l show layout" + echo " -b show buffers" exit fi -tmux list-panes -a -F '#{session_name}|#{window_index}|#{pane_id}|#{pane_pid}|#{pane_tty}|#{pane_title}' | \ -sort -g | \ -while read line; do - l=( ${(s:|:)line} ) - p=( ${l[1,5]} ) - p+=$(