Kovid Goyal
5dde31f80c
DRYer
2022-03-09 11:52:36 +05:30
Kovid Goyal
3bb869f725
Also test launching of bootstrap.py
2022-03-09 11:32:14 +05:30
Kovid Goyal
6df78fa67c
Add tests with different shells used as launchers
2022-03-09 11:29:06 +05:30
Kovid Goyal
53b1607c4d
When testing ssh kitten launch the bootscrapt script the same way sshd does it
2022-03-09 11:25:02 +05:30
Kovid Goyal
c9071a66ca
ssh kitten: Add an option to change the cwd at login
2022-03-07 12:24:37 +05:30
Kovid Goyal
d4d4e00f9d
Merge branch 'ksi' of https://github.com/page-down/kitty
2022-03-07 11:18:15 +05:30
Kovid Goyal
68df13d3fe
Fix recursive definitions in env vars not expanded
2022-03-07 11:07:26 +05:30
pagedown
1b68e41db4
Remove the fish integration prompt end B prompt marking
...
Currently kitty does not use the B prompt marking.
This is consistent with the zsh and bash implementations.
Improve compatibility with most user configurations.
2022-03-07 12:12:52 +08:00
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
75d5e386d3
Make the integration tests more strict
...
Actually assert that there are/are not prompt marking bytes in the data
received by the pty
2022-03-06 15:35:24 +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
4552a474b7
Make the no-integration test more comprehensive and stronger
2022-03-06 12:23:11 +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
01dd0416ac
Add an option to control the login shell
2022-03-05 11:16:15 +05:30
Kovid Goyal
0c79561977
Fix the ssh_copy test on macOS
2022-03-04 21:31:13 +05:30
pagedown
7c166e2194
Try to make the fish vi cursor test more stable
2022-03-04 23:46:39 +08:00
pagedown
d236b34fd4
Shell integration: Fix running bash non-interactively
...
In POSIX mode, bash does not perform ENV with non-interactive shell, so
the mode cannot be recovered. Check the arguments and do not change the
execution environment.
2022-03-04 19:47:44 +08:00
Kovid Goyal
e797ba4800
Allow matching on hostname and username
2022-03-04 12:42:31 +05:30
Kovid Goyal
1c558be524
Port HISTFILE fix to ssh bash launcher
2022-03-03 21:24:45 +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
e06bd68379
Split up ssh tests
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
53c8485a7a
Get env conf working with tests
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
6e5dbc5285
Test for handling of leading data
2022-03-03 21:24:44 +05:30
Kovid Goyal
e1f5ef59c8
Remove integration tests with login_shell=''since that is tested explicitly before
2022-03-03 21:24:44 +05:30
Kovid Goyal
44baeb6924
Run login_shell detection tests with all available shells
2022-03-03 21:24:44 +05:30
Kovid Goyal
c00e8b1709
Add tests for the individual login_shell detection functions
2022-03-03 21:24:44 +05:30
Kovid Goyal
55ede897b9
faster fail
2022-03-03 21:24:43 +05:30
Kovid Goyal
a71e7d7eb1
Simplify data transmission
2022-03-03 21:24:43 +05:30
Kovid Goyal
22c1ee7dc8
Cannot call the parser from callbacks that are themselves called from the parser
2022-03-03 21:24:43 +05:30
Kovid Goyal
d452a5cdce
...
2022-03-03 21:24:43 +05:30
Kovid Goyal
78b553e55e
Add tests for turning off shell integration in the bootstrap script
2022-03-03 21:24:43 +05:30
Kovid Goyal
8ca3a511cc
Get the ssh bootstrap tests fully working
2022-03-03 21:24:43 +05:30
Kovid Goyal
bf26a3f569
Skip bash if its too old when testing bootstrap script
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
4279f20daf
Dont depend on the default bash prompt when testing
2022-03-03 21:24:42 +05:30
Kovid Goyal
2dd7c3b939
More work on ssh bootstrap
2022-03-03 21:24:42 +05:30
Kovid Goyal
d8ed42ae8e
Move setting of ZLE_RPROMPT_INDENT to zshrc which will hopefully prevent it being overriden
2022-03-03 19:16:44 +05:30
Kovid Goyal
297592242c
Fix #4782
...
Presumably the failure is caused by zsh not having finished drawing the
prompt when the cursor shape is changed. So instead wait till the
expected prompt is drawn. There are probably more places where this
change needs to be made, which I cant tell since I cant reproduce.
2022-03-03 17:22:42 +05:30
Kovid Goyal
e103b280fd
Add test for HISTFILE
2022-02-28 20:09:54 +05:30
pagedown
2d4f7e3446
Disable system startup files in zsh integration test with --noglobalrcs
2022-02-27 20:21:05 +08:00
Kovid Goyal
165c1240a9
Make the test a little more robust
2022-02-27 11:04:12 +05:30
Kovid Goyal
f91463a494
Also add test for handling of control chars in zsh title reporting
2022-02-27 10:47:23 +05:30
Kovid Goyal
d53f8f24c4
Fix #4757
...
Still have to do the fix for zsh/fish
2022-02-27 10:20:19 +05:30
pagedown
e2f16ff624
Add fish pipestatus integration tests and changelog entries
2022-02-27 00:27:31 +08:00
Kovid Goyal
b212fd5bcd
Dont actually need a thread for PTY
2022-02-24 10:05:13 +05:30