Named Screen
A utility inspired by @ahoward that allows screens to be the name of the directory they were spawned from. This is mainly helpful for Terminal/iTerm tabs.
Executing this should rejoin sessions with the same name if they already exist or otherwise create them.
Usage
- Place or symlink into your path (I symlink as
ns
) - Ensure the script is executable
- Run
named_screen
(orns
) from a project directory - Examine your terminal tab, the contents of
~/.screens/
, and the output ofscreen -ls
- Use screen as you normally would