Let you choose screen session to attach to just by using arrow keys to select or search from a list in terminal.
$ npm i -g screen-command
Just use the following command:
$ sc
and then:
-
use arrow keys to navigate up and down
-
type to filter screens (fuzzy search)
-
press enter to select a screen
You can also choose " + Start a new screen..." and enter a name to start a named screen, or just press enter again to start an unnamed screen.
This package should work on both macOS and Linux with the latest version of Screen installed.
Below are the tested combination of OS and Screen version:
OS | Screen Version |
---|---|
macOS 10.15 | 4.00.03 |
Raspbian GNU/Linux 10 | 4.06.02 |
Screen commands generated by this package are temporarily stored in /tmp/screen-command.sh
and are deleted whenever you finish running this package.
- Add regex filter