Closed screendriver closed 11 months ago
The docs are outdated. You need
kitten update-self
and no I dont want to do automatic updates, am not a fan of those. If and when you have an issue or want to try new functionality, its just a simple command to update it.
kitten update-self
Gives me: Error: This is not a standalone kitten executable. You must update all of kitty instead.
Yes because you have kitty installed from before. Delete/uninstall it and you will be fine. You dont need all of kitty anymore since almost all kittens have now been ported to the kitten binary.
Unfortunately not:
$ where kitty
kitty not found
$ where kitten
kitten not found
$ exit
Then I login again:
$ kitten ssh my@machine
$ where kitty
/home/me/.local/share/kitty-ssh-kitten/kitty/bin/kitty
$ where kitten
/home/me/.local/share/kitty-ssh-kitten/kitty/bin/kitten
$ kitten update-self
kitten needs to be installed
Downloading kitten from: https://github.com/kovidgoyal/kitty/releases/latest/download/kitten-linux-amd64
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 14.1M 100 14.1M 0 0 23.2M 0 --:--:-- --:--:-- --:--:-- 23.2M
Error: This is not a standalone kitten executable. You must update all of kitty instead.
That's probably a spurious error, what does
kitten --version say after updating?
kitten --version say after updating?
kitten 0.30.1 created by Kovid Goyal
Yeah that means it updated. I'll fix the spurious error message.
Ah! 💡 That makes sense. So yeah an info message with a proper exit code in this situation would be nice 👍
Describe the bug
I'm using the ssh kitten to login to my remote machines. There I wanted to try out the relatively new transfer files kitten. Unfortunately I get the error message
After checking for the installed
kitten
version on the remote host I saw that this version is pretty outdated (on my local machine I have0.30.1
):So I want to update it. According to the docs I should be able to do that with a simple
kitty +update-kitty
. Unfortunately this does not work. I'm getting following error message:The only solution that worked was to completely remove the directory
/home/me/.local/share/kitty-ssh-kitten/
and re-login to the remote machine.Two questions two this:
kitty +update-kitty
not kown?kitty
does this kind of update automatically on the remote machine when I login with the ssh kitten and it sees by itself that the local version is outdated?To Reproduce Steps to reproduce the behavior:
kitten ssh my@machine
kitten
version on the remote host:kitten --version
. On my remote machine is showskitten 0.29.2 created by Kovid Goyal
which is pretty old and I want to update itkitty +update-kitty
update-kitty is not a known entry point. Choices are: icat, list-fonts, hold, complete, runpy, launch, open, kitten, edit-config, shebang, edit
Screenshots
Environment details
Additional context