From d8ce3f820986988704973f5652905bf6bbea0afa Mon Sep 17 00:00:00 2001 From: mwtkrayer Date: Sat, 20 Mar 2021 14:31:20 +0100 Subject: [PATCH 1/3] Add 'README' --- README | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..909b81c --- /dev/null +++ b/README @@ -0,0 +1,39 @@ +Usage: session mode [args] +Manage detachable shell sessions using [dtach](https://github.com/crigler/dtach). +Available modes: + attach | att | a attach to an existing session + new | | n create a new session + terminate | term | t terminate an existing session (SIGTERM) + kill | | k send SIGKILL to an existing session + list | ls | l list all available sessions + info | | i print information on a session + help | | h display this help message + +session attach [name] + Attach to specified session. If no session name is provided, an interactive + selection menu is provided. Use to detach. + +session new [name] + Create a new session. If no session name is provided, a generic name will + be generated. Use to detach. + +session terminate [name] + Terminate a specified session. If no session name is provided, all sessions + will be terminated upon confirmation. + +session kill [name] + Same as 'terminate' but SIGKILL is sent to the shell instead of SIGTERM. + +session list + List all available sessions. + +session info [name] + Print information on a specified session. If no session name is provided, + information on all sessions will be printed. The output contains the session + name, the timestamp of creation and the path of its socket. + +session help + Print this help message. + +session is configured using the file '/home/stumpf/.sessionrc', which, if +non-existent, can be initialized with 'session config generate'. \ No newline at end of file From a937e07facaf1975ebfb5380fcd40869fc9cd5a5 Mon Sep 17 00:00:00 2001 From: mwtkrayer Date: Sat, 20 Mar 2021 14:31:52 +0100 Subject: [PATCH 2/3] Update 'README.md' --- README => README.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename README => README.md (100%) diff --git a/README b/README.md similarity index 100% rename from README rename to README.md From a6795d792a87a4d34053f541938d165875929dd5 Mon Sep 17 00:00:00 2001 From: mwtkrayer Date: Sat, 20 Mar 2021 14:33:18 +0100 Subject: [PATCH 3/3] Update 'README.md' --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 909b81c..bd054b8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ -Usage: session mode [args] +session +--- Manage detachable shell sessions using [dtach](https://github.com/crigler/dtach). + +```text +Usage: session mode [args] Available modes: attach | att | a attach to an existing session new | | n create a new session @@ -35,5 +39,5 @@ session info [name] session help Print this help message. -session is configured using the file '/home/stumpf/.sessionrc', which, if -non-existent, can be initialized with 'session config generate'. \ No newline at end of file +session is configured using the file '$HOME/.sessionrc', which, if +non-existent, can be initialized with 'session config generate'.''' \ No newline at end of file