mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 03:42:49 +00:00
Use an env var for fish shell integration
Less intrusive (in some ways) than adding symlinks to ~/.config/fish Exploits the fact that fish loads scripts from XDG_DATA_DIRS on startup. Thanks to @page-down for noticing
This commit is contained in:
parent
d31935b8eb
commit
d3a3f99848
5 changed files with 42 additions and 40 deletions
5
shell-integration/fish/vendor_completions.d/kitty.fish
Normal file
5
shell-integration/fish/vendor_completions.d/kitty.fish
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
if functions -q _ksi_completions
|
||||
complete -f -c kitty -a "(_ksi_completions)"
|
||||
else
|
||||
complete -f -c kitty -a "(commandline -cop | kitty +complete fish)"
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue