summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Leferry 2 <alexherbo2@gmail.com>2020-06-21 00:44:55 +0200
committerAlex Leferry 2 <alexherbo2@gmail.com>2020-06-21 00:53:28 +0200
commit2d52edcec028436adcd571c66b197df2599e6d2e (patch)
treef0fc219b6e80d86bcd5854b703b5982be4de4eea
parent8a47f22fec2ef89f7537eb3fdc3f41a4b067c62d (diff)
kak-connect: Prefer <<EOF to <<-EOF
-rwxr-xr-xbin/kak-connect4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/kak-connect b/bin/kak-connect
index e6a49b4..19cfa80 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 | sed -E 's/^ {8}//'
+ cat <<EOF | sed -E 's/^ {8}//'
Starting a shell connected to the '$kak_session' Kakoune session.
• [e]dit to attach
• CTRL-D to quit
❯ (connect-shell) █
- EOF
+EOF
set -- "$SHELL"
else
set -- 'edit' "$@"