aboutsummaryrefslogtreecommitdiff
path: root/scripts/tmux_window_renum.sh
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2016-07-21 14:59:53 -0600
committerCody Hiar <codyfh@gmail.com>2016-07-21 16:04:39 -0600
commita75ee65fe7993327d3c22265bfe3a207f83bb623 (patch)
treea73b6345c581593fe63059ce3c2ebfa47a3a03a4 /scripts/tmux_window_renum.sh
parent29734b71b5784b6d238af5baf30e8677a1a0cada (diff)
Minor tweaks.
Diffstat (limited to 'scripts/tmux_window_renum.sh')
-rwxr-xr-xscripts/tmux_window_renum.sh2
1 files changed, 1 insertions, 1 deletions
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