Created
May 5, 2016 00:57
-
-
Save rootulp/93f67511ae97c20c4d32b600a5ab6a8d to your computer and use it in GitHub Desktop.
workaround for a bug in tmux-resurrect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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