Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running connect-terminal #19

Open
gustavo-hms opened this issue Jun 8, 2021 · 2 comments
Open

Error running connect-terminal #19

gustavo-hms opened this issue Jun 8, 2021 · 2 comments

Comments

@gustavo-hms
Copy link

Hi, Alex!

For me, the connect-terminal emits some errors when run:

kitty @ launch --no-response --type="window" --cwd="/home/gustavo" --match=id:3 sh -c ␊    export KAKOUNE_SESSION=$1␊    export KAKOUNE_CLIENT=$2␊    shift 3␊␊    [ $# = 0 ] && set  $SHELL"
Error: 1:1: '>' 2:3: 'connect' 2:7: 'terminal' 2:5: 'eval' no such command: '$@'

The command works as expected even with the errors.

It happens even with this minimal kakrc:

evaluate-commands %sh{
    kcr init kakoune
}

I've found it a bit weird no one else reported the same issue. Perhaps it's been caused by a very specific combination of program versions...

My setup:

  • kitty 0.20.3
  • kakoune v2020.09.01-378-g545db22a
  • kcr 371f1af
@alexherbo2
Copy link
Owner

I have no idea. Can you try with another terminal, such as Alacritty?

@gustavo-hms
Copy link
Author

It seems to be something kitty-specific. It does work on other terminals (tested on Alacritty, Konsole and Gnome Terminal).

Looking at the error message ('eval' no such command: '$@'), my first guess is that it has something to do with how kitty is invoked from Kakoune:

        kitty @ $listen launch --no-response --type="$kak_opt_kitty_window_type" --cwd="$PWD" $match "$@"

But it's just a guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants