summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMathieu Ablasou <alexherbo2@gmail.com>2021-02-03 17:51:58 +0100
committerMathieu Ablasou <alexherbo2@gmail.com>2021-02-03 17:51:58 +0100
commit09661989333b07f31c74b8cd3a0ec8db55a28718 (patch)
tree7fe6006a5c6400e82e37aaae9848e7535bcbebd3 /docs
parenta60a3f0741c7fd8eb4acb0c103c08dd1b98f634f (diff)
Allow to connect to a session without a prompt
Closes #52
Diffstat (limited to 'docs')
-rw-r--r--docs/faq.md2
-rw-r--r--docs/recipes.md10
2 files changed, 6 insertions, 6 deletions
diff --git a/docs/faq.md b/docs/faq.md
index ffa0f54..dbd9bb6 100644
--- a/docs/faq.md
+++ b/docs/faq.md
@@ -90,7 +90,7 @@ Otherwise, it will interpret the entry as a session name and connect to it.
If the session does not exists, the session will be started in daemon mode.
Apart from running a connected shell, you can use `kak-shell` to run commands in the context of the session.
-For example, you can run `kak-shell lazygit` to run [lazygit] connected to an arbitrary session.
+For example, you can run `kak-shell kanto lazygit` to run [lazygit] connected to an arbitrary session.
[lazygit]: https://github.com/jesseduffield/lazygit
diff --git a/docs/recipes.md b/docs/recipes.md
index af555d0..58ebeb5 100644
--- a/docs/recipes.md
+++ b/docs/recipes.md
@@ -2,14 +2,14 @@
## Working with headless sessions with _kak-shell_
-`kak-shell :attach` lets you run a client connected to a session, just like the plain `kak -c <session-name>`.
-But with `kak-shell :attach`, you have a list of all the active sessions and you can also create a new named session
-which starts in headless mode, which is very useful for detaching and reattaching continually.
+`kak-shell kanto :attach` lets you run a client connected to a session, just like the plain `kak -c <session-name>`.
+But with `kak-shell kanto :attach`, you can create a new named session which starts in headless mode,
+which is very useful for detaching and reattaching continually.
-Therefore, `kak-shell :attach` replaces `kak -c <session-name>` and `kak -d -s <session-name>`
+Therefore, `kak-shell kanto :attach` replaces `kak -c <session-name>` and `kak -d -s <session-name>`
and can serve to spawn a client in whatever situation you are.
-**Tip**: Alias `kak-shell` to `ks` and connect to a session with `ks a`.
+**Tip**: Alias `kak-shell` to `ks` and connect to a session with `ks kanto a`.
## Custom prompt