We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9bdb647 + 52b643b commit e161b5aCopy full SHA for e161b5a
kitty/entry_points.py
@@ -37,6 +37,8 @@ def complete(args: List[str]) -> None:
37
raise SystemExit(1)
38
if args[1] == 'fish2':
39
args[1:1] = ['fish', '_legacy_completion=fish2']
40
+ elif len(args) >= 3 and args [1:3] == ['setup', 'fish2']:
41
+ args[2] = 'fish'
42
from kitty.constants import kitten_exe
43
args = ['kitten', '__complete__'] + args[1:]
44
os.execvp(kitten_exe(), args)
0 commit comments