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.
- Place or symlink into your path (I symlink as
- Ensure the script is executable
ns) from a project directory
- Examine your terminal tab, the contents of
~/.screens/, and the output of
- Use screen as you normally would