Hi, If you pass the same arguments to -s and -t in move-window, the window gets closed. I expected nothing to happen.
I found this writing #!/bin/sh # tmux-compress - renumber tmux windows in sequence. tmux lsw | awk -F: '/^[0-9]+/ { if ($1 != ++i) print "tmux move-window -s " $1 " -t " i }' | sh ...which would be a nice core function too. Thanks, -- Christian Neukirchen <chneukirc...@gmail.com> http://chneukirchen.org ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users