Commit Graph
901 Commits
Author SHA1 Message Date
Kovid Goyal 6e4d3c98da Ensure pw file is cleaned up on kitten exit
This way it is cleaned up even if ssh fails
2022-03-07 06:54:11 +05:30
Kovid Goyal 2404eba11f ssh kitten: Passthrough to ssh if run outside of kitty
Also, ensure that the ssh data request is only served if it is received
over the tty of the correct kitty window.
2022-03-07 06:48:18 +05:30
Kovid Goyal 7f9fec061a bootstrap.py is now tested the same as bootsstrap.sh 2022-03-06 14:26:15 +05:30
Kovid Goyal c713dc0ca8 Allow using a --kitten argument with the ssh kitten to make it easier to override settings from ssh.conf 2022-03-06 10:07:46 +05:30
Kovid Goyal 31ea5d74a7 Exclude junk directories when adding user files as well 2022-03-06 10:00:02 +05:30
Kovid Goyal 31b01d42c0 use inherited instead of inherit 2022-03-06 09:54:33 +05:30
Kovid Goyal 675411df85 Start work on python bootstrap 2022-03-05 15:43:55 +05:30
Kovid Goyal ffa79d731c Allow configuring the ssh kitten via env vars 2022-03-05 12:29:55 +05:30
Kovid Goyal 01dd0416ac Add an option to control the login shell 2022-03-05 11:16:15 +05:30
Kovid Goyal 0bd1676978 Some cleanup 2022-03-05 10:58:42 +05:30
Kovid Goyal f3407959a6 Start work on python bootstrap script 2022-03-05 10:54:21 +05:30
Kovid Goyal e797ba4800 Allow matching on hostname and username 2022-03-04 12:42:31 +05:30
Kovid Goyal fe27ee2d79 Allow configuring the interpreter to use on the remote host 2022-03-04 12:18:27 +05:30
Kovid Goyal e0c984046c EXEC_CMD must come after login_shell detection since it can use login_shell 2022-03-04 10:00:12 +05:30
Kovid Goyal 64d6337612 ... 2022-03-04 09:54:17 +05:30
Kovid Goyal 499b30d175 Allow specifying multiple matching hostnames 2022-03-04 07:23:35 +05:30
Kovid Goyal ef9adc92c8 Note on how to use include for DRYer config 2022-03-04 07:13:56 +05:30
Kovid Goyal f1ce8c0e8a Add some docs for the ssh kitten 2022-03-03 22:37:24 +05:30
Kovid Goyal 7d653cb7bf Allow copying the same file to multiple locations 2022-03-03 21:24:45 +05:30
Kovid Goyal b4cc38a1d9 Fix symlink extraction over ssh 2022-03-03 21:24:45 +05:30
Kovid Goyal 8867317b6a Allow transferring files outside of HOME 2022-03-03 21:24:45 +05:30
Kovid Goyal 4b6bfaffba More work on ssh copy 2022-03-03 21:24:45 +05:30
Kovid Goyal fadae42715 Work on parsing copy instructions 2022-03-03 21:24:45 +05:30
Kovid Goyal 77c9affc00 Start work on copy instructions 2022-03-03 21:24:45 +05:30
Kovid Goyal e5ba15949b $size doesnt need to be global 2022-03-03 21:24:45 +05:30
Kovid Goyal a3e59697a1 ... 2022-03-03 21:24:45 +05:30
Kovid Goyal 95da414511 Avoid one record read 2022-03-03 21:24:45 +05:30
Kovid Goyal c0d5ace640 Prevent invalid root paths 2022-03-03 21:24:45 +05:30
Kovid Goyal ae6665493a Implement setting of env vars 2022-03-03 21:24:44 +05:30
Kovid Goyal c6f37afeff Add config to control shell integration per host 2022-03-03 21:24:44 +05:30
Kovid Goyal 59f656e3ca Allow controlling where on the remote computer the ssh kitten installs its data 2022-03-03 21:24:44 +05:30
Kovid Goyal 12658c4756 Make ssh data start request transmission more robust 2022-03-03 21:24:44 +05:30
Kovid Goyal 37c185462a Handle error messages form terminal during bootstrap 2022-03-03 21:24:44 +05:30
Kovid Goyal 53c8485a7a Get env conf working with tests 2022-03-03 21:24:44 +05:30
Kovid Goyal 846021296f Start work on config infrastructure for ssh kitten 2022-03-03 21:24:44 +05:30
Kovid Goyal 02a68e7541 Pass the value of shell_integration in the tarfile
Allows per host overrides and also avoids needing to read kitty.conf in
the ssh kitten
2022-03-03 21:24:44 +05:30
Kovid Goyal fda9415873 Use a record separator to delimit the start of data
Needed because the user could press keys and send data to the tty
before kitty can send the ssh data
2022-03-03 21:24:44 +05:30
Kovid Goyal 99d0c2d846 Get reading data working on macOS 2022-03-03 21:24:43 +05:30
Kovid Goyal a71e7d7eb1 Simplify data transmission 2022-03-03 21:24:43 +05:30
Kovid Goyal ddb8753548 Work on enabling shell integration over ssh 2022-03-03 21:24:43 +05:30
Kovid Goyal e73525d0a2 Start work on testing the bootstrap script 2022-03-03 21:24:43 +05:30
Kovid Goyal f37d947dd5 more work on ssh data transmission 2022-03-03 21:24:42 +05:30
Kovid Goyal 2dd7c3b939 More work on ssh bootstrap 2022-03-03 21:24:42 +05:30
pagedown 16298e49c7 Update Unicode input kitten names 2022-03-03 16:45:07 +08:00
Kovid Goyal f421666a27 Nicer error message when importing a kitten fails 2022-03-02 08:26:06 +05:30
pagedown da5213346a show_error kitten: Use green color for closing tips 2022-02-28 15:02:16 +08:00
pagedown e3adf8c6bf show_error kitten: Exit at EOF 2022-02-24 21:13:57 +08:00
Kovid Goyal cb4a9d89cf Cleanup linenum matching and add some tests 2022-02-23 23:06:19 +05:30
Kovid Goyal 7800c598f6 hints kitten: Fix a regression that broke recognition of path:linenumber:colnumber
Fixes #4675
2022-02-23 22:38:54 +05:30
Kovid Goyal 6bfb6da0ad Make the regex for sgr stripping tighter 2022-02-15 22:33:51 +05:30