=== modified file 'tmux-browse' --- tmux-browse 2013-10-01 13:50:09 +0000 +++ tmux-browse 2012-08-08 02:14:38 +0000 @@ -1,30 +1,23 @@ #!/bin/zsh #set -x -zparseopts h=a_help -help=a_help p=a_ps v=a_vim +zparseopts h=a_help -help=a_help p=a_ps if [ -n "$a_help" ] then echo "usage: `basename $0` [options]" echo "options:" echo " -h this help" echo " -p show process tree" - echo " -v show vim sessions" 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 +while read line; do l=( ${(s:|:)line} ) p=( ${l[1,5]} ) - p+=$(tr '\0' ' '