summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMathieu Ablasou <alexherbo2@gmail.com>2021-02-03 12:03:19 +0100
committerMathieu Ablasou <alexherbo2@gmail.com>2021-02-03 12:03:19 +0100
commitae708d17e0a196a78324f84fe732d3d5ae7ef04d (patch)
tree5bc310fd117cf7cb6089e256a1555b609cf45386 /README.md
parent1e05ec97cb8bf22cfb3b7cf8a2c417a583400a42 (diff)
Starship: Add symbol for Kakoune
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index fa6cec7..d70a52a 100644
--- a/README.md
+++ b/README.md
@@ -269,14 +269,16 @@ PS1='$(test "$IN_KAKOUNE_CONNECT" && printf 🐈)$ '
``` toml
[custom.kakoune_connect_client]
-command = 'printf "🐈(${KAKOUNE_CLIENT}@${KAKOUNE_SESSION})"'
+symbol = '🐈'
+command = 'printf "${KAKOUNE_CLIENT}@${KAKOUNE_SESSION}"'
when = 'test "$IN_KAKOUNE_CONNECT" = 1 -a -n "$KAKOUNE_SESSION" -a -n "$KAKOUNE_CLIENT"'
shell = ['dash']
description = 'Indicates that the current shell is connected to a Kakoune client'
style = 'green italic'
[custom.kakoune_connect_session]
-command = 'printf "🐈(${KAKOUNE_SESSION})"'
+symbol = '🐈'
+command = 'printf "${KAKOUNE_SESSION}"'
when = 'test "$IN_KAKOUNE_CONNECT" = 1 -a -n "$KAKOUNE_SESSION" -a -z "$KAKOUNE_CLIENT"'
shell = ['dash']
description = 'Indicates that the current shell is connected to a Kakoune session'