Kovid Goyal
5666b1b0fd
Implement completion for fish
2022-11-14 15:41:59 +05:30
pagedown
1eef584382
Replace tr with string built-in in fish integration
2022-07-26 13:21:36 +08:00
pagedown
297dea881d
Use the same fish completion function for commands
2022-06-28 11:35:11 +08:00
pagedown
01df828353
Refactor the fish implementation of edit-in-kitty
...
Clean up global variable and signal handling function before exit.
For commands allowing the use of valid functions or binary executables.
2022-06-28 11:31:42 +08:00
Kovid Goyal
48bb43a2c4
fish: completion for edit-in-kitty clone-in-kitty
...
fish's wrapping facility does not preserve argv[0] so it cannot be used
unlike for zsh and bash
2022-05-30 10:50:19 +05:30
Kovid Goyal
75942fb47e
Implement edit-in-kitty for fish
2022-05-28 11:12:11 +05:30
Kovid Goyal
83602d7e53
Make chunked transmit code re-useable in fish integration script
2022-05-27 13:21:26 +05:30
pagedown
b94afbba13
...
2022-04-18 14:51:15 +08:00
pagedown
45eb4a0760
clone-in-kitty: Remove duplicate PATH entries in fish implementation
2022-04-18 11:46:29 +08:00
Kovid Goyal
3efbccc850
...
2022-04-17 20:56:24 +05:30
Kovid Goyal
93c23f99cb
conda activate now works under fish so use it
2022-04-17 20:55:53 +05:30
Kovid Goyal
230a9f4678
Implement option to control clone sourcing strategies
2022-04-17 19:39:32 +05:30
Kovid Goyal
291f9e9a5e
Make cloning safer
...
Now env vars are set after shell rc files are sourced. And the clone
request cannot specify the cmdline to execute.
2022-04-17 07:49:58 +05:30
Kovid Goyal
53788c4c89
Get conda working with fish
2022-04-16 15:16:53 +05:30
Kovid Goyal
831043b773
Implement venv detection for fish
2022-04-16 14:45:02 +05:30
pagedown
af6b1837cb
Minor refactoring for fish clone-in-kitty and allow use without env -0
...
The builtin option from the latest version of fish is not used for now.
clone-in-kitty has been tested with fish 3.2.x.
BusyBox env does not support the -0 option.
2022-04-14 21:32:28 +08:00
Kovid Goyal
cc07b1f79d
Use 2048 chunk size in fish as well
2022-04-13 22:50:24 +05:30
Kovid Goyal
3ddea42660
...
2022-04-13 22:45:36 +05:30
Kovid Goyal
236dbd95c9
...
2022-04-13 22:34:23 +05:30
Kovid Goyal
6b078c4267
Implement clone-in-kitty for the fish shell
2022-04-13 22:33:21 +05:30
pagedown
32426d61c3
Shell integration: Mark fish prompt on cancel or syntax error
...
The fish_prompt event will not be fired, even if a new prompt has been
drawn.
2022-03-30 20:49:48 +08:00
pagedown
901eae9604
Docs: no-cwd will not disable fish's built-in CWD reporting
2022-03-18 11:10:21 +08:00
pagedown
7160027c14
Use the fish built-in function name to report current working directory
...
If the feature is enabled by fish in the future, it will override the
built-in one and there will be no duplicate reporting.
2022-03-16 01:03:26 +08:00
pagedown
736d6cf7e6
Simplify fish prompt state checking
2022-03-16 01:03:16 +08:00
Kovid Goyal
c05c0353fd
Dont report directory changes during command substitution
2022-03-15 20:34:18 +05:30
Kovid Goyal
e944e2ecae
Make a note that cwd reporting is builtin to fish
2022-03-15 20:33:14 +05:30
Kovid Goyal
47b3c37bf0
Add cwd reporting to fish integration
2022-03-15 20:25:39 +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
pagedown
74c56d69ac
Also fall back to check the last known working version of fish
2022-02-28 19:26:20 +08:00
pagedown
121778e5c6
Remove unnecessary function checks
2022-02-27 00:08:36 +08:00
pagedown
ef32488890
Shell integration: Fix fish pipestatus being overwritten
2022-02-27 00:07:46 +08:00
pagedown
4f3da2bc00
Output warnings for outdated versions of fish
2022-02-24 20:25:48 +08:00
pagedown
7b8c2c846f
Shell integration: Check fish version and exit on outdated versions
2022-02-24 18:43:46 +08:00
pagedown
f5415ca824
Restore XDG_DATA_DIRS right after fish integration script is loaded
2022-02-09 13:06:38 +08:00
Kovid Goyal
44e3a6f0fb
Shell integration: Set cursor shape to whatever is specified in the cursor_shape option when executing a command rather than the block shape
2022-01-25 13:30:48 +05:30
pagedown
3aec573d40
Use blinking block for commands consistent with zsh and bash integration
2022-01-25 13:58:11 +08:00
pagedown
5d4b0c0bef
Set the pre-exec cursor shape in fish vi mode and config on demand
2022-01-25 13:01:54 +08:00
pagedown
11c0343420
Add comments and minor tweaks to fish integration
2022-01-25 11:52:34 +08:00
pagedown
c5e8a36f9b
Shell integration: Improvements for fish integration
...
Move the completion function to the autocomplete script.
Fix some issues with cursor shape setting, respect user configuration.
Functions and vars start with two underscores, following the convention.
Other minor refactoring.
2022-01-19 09:39:23 +08:00
Kovid Goyal
71106bcd39
Shell integration: Dont override fish's native title setting functionality
...
See discussion: https://github.com/fish-shell/fish-shell/issues/8641
2022-01-16 15:58:11 +05:30
pagedown
85254746bf
Shell integration: Remove functions that run only once at start
2022-01-15 12:34:52 +08:00
pagedown
77787bdc7c
Shell integration: Improvements in fish integration
2022-01-15 12:01:47 +08:00
pagedown
9813ad04c2
Shell integration: Set the fish vi mode cursor to blink
2022-01-15 10:29:26 +08:00
pagedown
ceb7c440a1
Shell integration: Only override default fish_title
2022-01-15 01:46:14 +08:00
pagedown
a0476c03c3
Improve fish cursor shape integration
2022-01-14 22:57:31 +08:00
Kovid Goyal
cf7e43fa26
Simplify nested if
2021-11-07 19:23:31 +05:30
Kovid Goyal
b5e8b5a124
Allow users to modify XDG_DATA_DIRS in the fish rc files
...
The only downside of this new technique is that it is no
longer possible to set XDG_DATA_DIRS to an empty var in kitty.conf
Since an empty XDG_DATA_DIRS breaks lots fo things, I dont think that
is a big concern.
2021-11-07 18:59:50 +05:30
Kovid Goyal
f48a430493
Use --global when re-exporting XDG_DATA_DIRS
2021-11-07 10:31:57 +05:30
Kovid Goyal
35514e0cc3
Dont change XDG_DATA_DIRS for child processes in fish shell integration
...
Fixes #4199
2021-11-07 10:06:18 +05:30
Kovid Goyal
5eb87b9f10
Micro-optimizations of fish sheel integration script
...
By @page-down
2021-10-29 21:51:48 +05:30