summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAlex Leferry 2 <alexherbo2@gmail.com>2020-06-21 00:41:00 +0200
committerAlex Leferry 2 <alexherbo2@gmail.com>2020-06-21 00:53:28 +0200
commit8a47f22fec2ef89f7537eb3fdc3f41a4b067c62d (patch)
tree2bd8a1dcd26f23185c05451dd36b925cd1f777c4 /bin
parentbc8286c405e04ec6fd17a86758c8c28cdc5b6adc (diff)
kak-connect: Slight style change
Diffstat (limited to 'bin')
-rwxr-xr-xbin/kak-connect12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/kak-connect b/bin/kak-connect
index a4fabcc..e6a49b4 100755
--- a/bin/kak-connect
+++ b/bin/kak-connect
@@ -22,14 +22,14 @@ main() {
kak_session=$$
# Start a connected shell or edit files.
if test $# -eq 0; then
- cat <<EOF
-Starting a shell connected to the '$kak_session' Kakoune session.
+ cat <<-EOF | sed -E 's/^ {8}//'
+ Starting a shell connected to the '$kak_session' Kakoune session.
-• [e]dit to attach
-• CTRL-D to quit
+ • [e]dit to attach
+ • CTRL-D to quit
-❯ (connect-shell) █
-EOF
+ ❯ (connect-shell) █
+ EOF
set -- "$SHELL"
else
set -- 'edit' "$@"