diff options
| author | Mathieu Ablasou <alexherbo2@gmail.com> | 2021-02-03 12:03:19 +0100 |
|---|---|---|
| committer | Mathieu Ablasou <alexherbo2@gmail.com> | 2021-02-03 12:03:19 +0100 |
| commit | ae708d17e0a196a78324f84fe732d3d5ae7ef04d (patch) | |
| tree | 5bc310fd117cf7cb6089e256a1555b609cf45386 /README.md | |
| parent | 1e05ec97cb8bf22cfb3b7cf8a2c417a583400a42 (diff) | |
Starship: Add symbol for Kakoune
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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' |
