Last active
December 3, 2019 15:31
-
-
Save tbnorth/eccf4921a98827c0a91c8b8f271c8a30 to your computer and use it in GitHub Desktop.
Launch multiple named screen sessions, offset date display, etc.
This file contains hidden or 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
| backtick 1 60 60 date -d-1hour +%H:%M | |
| caption always | |
| caption string "%{gk}%-w%{= ky}%45>*%t%{-}%+w%<" | |
| # leave the above in so install_env doesn't re-add it | |
| caption string "%{gk}%1` %-w%{= ky}%45>%t%{-}%+w%<" | |
| # screen bash | |
| shell "/usr/bin/bash" | |
| # bind ^a^c screen bash | |
| vbell off | |
| term screen-256color |
This file contains hidden or 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
| screen -X title $1 # name *this* window with first name | |
| shift | |
| for i in $@; do | |
| screen -t $i | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment