-
Love Kitty, just getting started, but I am noticing that when I use the For instance, my .zshrc pulls my Copilot API token out of the macOS keychain, which isn't present. I have 2 questions, actually:
Thanks again for the great terminal! |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 5 replies
-
What's the edit-in-shell kitten? If you want to edit a remote file
in your local nvim setup, you use the ssh kitten to ssh into the remote
computer and then run the command
edit-in-kitty filename
See
https://sw.kovidgoyal.net/kitty/shell-integration/#edit-files-in-new-kitty-windows-even-over-ssh
|
Beta Was this translation helpful? Give feedback.
-
I have no idea what you are doing, you appear to somehow be trying to
run kitty on your Linux machine.
I suggest you make sure kitty is either not installed or is up to date
on your Linux machine, that means using the kitty official binary
install not whatever kitty package the linux distro provides.
Then in kitty on your mac machine do:
kitten ssh my-linux-machine
my-linux machine $ edit-in-kitty file.txt
this will open file.txt on your *mac* machine in nvim also running on
your mac machine.
Note that the first time you run edit-in-kitty assuming kitty is not
installed on your Linux machine, it will download the kitten binary.
Good luck.
|
Beta Was this translation helpful? Give feedback.
-
That implies your edit-in-kitty alias is incorrect.
It should be: kitten edit-in-kitty
Either fix it or explicitly run
kitten edit-in-kitty
instead.
|
Beta Was this translation helpful? Give feedback.
-
No, dont run
kitty edit-in-kitty file
run just
edit-in-kitty file
|
Beta Was this translation helpful? Give feedback.
-
I get the same thing:
|
Beta Was this translation helpful? Give feedback.
-
that's impossible unless as I said before your edit-in-kitty alias is wrong.
So run
kitten edit-in-kitty file
And note this is KITTEN not KITTY
|
Beta Was this translation helpful? Give feedback.
-
Holy mackerel that was it! It was so subtle I kept overlooking it. On macOS, the aliases were automatically set up for me, but on Linux I had to do them myself and apparently muffed it. @kovidgoyal 's assertion above is real the solution, but I want to provide full context for anyone else having this or similar issues. My problem was 2 things:
|
Beta Was this translation helpful? Give feedback.
Holy mackerel that was it! It was so subtle I kept overlooking it.
On macOS, the aliases were automatically set up for me, but on Linux I had to do them myself and apparently muffed it.
@kovidgoyal 's assertion above is real the solution, but I want to provide full context for anyone else having this or similar issues.
My problem was 2 things:
apt
and thecurl
install methods do not normalize the shell for you automatically like what seemingly occurs on macOS viabrew
.e…