Skip to content

Commit e161b5a

Browse files
committed
Merge branch 'completion' of https://github.com/page-down/kitty
2 parents 9bdb647 + 52b643b commit e161b5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kitty/entry_points.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ def complete(args: List[str]) -> None:
3737
raise SystemExit(1)
3838
if args[1] == 'fish2':
3939
args[1:1] = ['fish', '_legacy_completion=fish2']
40+
elif len(args) >= 3 and args [1:3] == ['setup', 'fish2']:
41+
args[2] = 'fish'
4042
from kitty.constants import kitten_exe
4143
args = ['kitten', '__complete__'] + args[1:]
4244
os.execvp(kitten_exe(), args)

0 commit comments

Comments
 (0)