Refactoring tmux