Skip to content

Instantly share code, notes, and snippets.

@rootulp
Created May 5, 2016 00:57
Show Gist options
  • Save rootulp/93f67511ae97c20c4d32b600a5ab6a8d to your computer and use it in GitHub Desktop.
Save rootulp/93f67511ae97c20c4d32b600a5ab6a8d to your computer and use it in GitHub Desktop.
workaround for a bug in tmux-resurrect
#!/bin/bash
echo "tmux-ressurect-automatic-rename started!"
for session_window in $(tmux list-windows -a -F '#{session_name}:#{window_index}'); do
tmux set-window-option -t $session_window automatic-rename on
echo "automatic-rename enabled for $session_window"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment