summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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' "$@"