From a75ee65fe7993327d3c22265bfe3a207f83bb623 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Thu, 21 Jul 2016 14:59:53 -0600 Subject: Minor tweaks. --- scripts/tmux_window_renum.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/tmux_window_renum.sh') diff --git a/scripts/tmux_window_renum.sh b/scripts/tmux_window_renum.sh index 6a63814..ed33584 100755 --- a/scripts/tmux_window_renum.sh +++ b/scripts/tmux_window_renum.sh @@ -1,4 +1,4 @@ -for session in $(tmux ls | awk -F: '{print $1}') ;do +for session in $(tmux ls | awk -F: '{print $1}') ; do active_window=$(tmux lsw -t ${session} | awk -F: '/\(active\)$/ {print $1}') inum=0 for window in $(tmux lsw -t ${session} | awk -F: '{print $1}') ;do -- cgit v1.2.3