Last active
September 28, 2018 13:26
-
-
Save gomesar/f9c32463a8abbe02470b9934eeb09db5 to your computer and use it in GitHub Desktop.
tmuxToTmuxinatorLayout.sh
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 | |
# Scritp to list tmux windows and respectives layouts inputs to tmuxinator | |
# shows windows number, name and TmuxinatorLayout | |
tmux list-windows | sed -r 's/([0-9]+: .*) \([0-9]+ panes\).*layout (.*)] @.*/\1:\n layout: \2/g' | |
# tmux: https://github.com/tmux/tmux/wiki | |
# tmuxinator: https://github.com/tmuxinator/tmuxinator | |
# quick profile config guide: https://fabianfranke.de/2013/11/19/use-tmuxinator-to-recreate-tmux-panes-and-windows/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment