summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 0b7fb94..3578a79 100644
--- a/README.md
+++ b/README.md
@@ -268,19 +268,19 @@ PS1='$(test "$IN_KAKOUNE_CONNECT" && printf 🐈)$ '
`~/.config/starship.toml`
``` toml
-[custom.kakoune_connect_client]
+[custom.kakoune_client]
symbol = '🐈'
command = 'printf "${KAKOUNE_CLIENT}@${KAKOUNE_SESSION}"'
-when = 'test "$IN_KAKOUNE_CONNECT" = 1 -a -n "$KAKOUNE_SESSION" -a -n "$KAKOUNE_CLIENT"'
+when = 'test -n "$KAKOUNE_SESSION" -a -n "$KAKOUNE_CLIENT"'
shell = ['dash']
description = 'Indicates that the current shell is connected to a Kakoune client'
style = 'green italic'
format = '[$symbol ($output )]($style)'
-[custom.kakoune_connect_session]
+[custom.kakoune_session]
symbol = '🐈'
command = 'printf "${KAKOUNE_SESSION}"'
-when = 'test "$IN_KAKOUNE_CONNECT" = 1 -a -n "$KAKOUNE_SESSION" -a -z "$KAKOUNE_CLIENT"'
+when = 'test -n "$KAKOUNE_SESSION" -a -z "$KAKOUNE_CLIENT"'
shell = ['dash']
description = 'Indicates that the current shell is connected to a Kakoune session'
style = 'green italic'