summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKovid Goyal <kovid@kovidgoyal.net>2018-09-18 06:19:24 +0530
committerKovid Goyal <kovid@kovidgoyal.net>2018-09-18 06:19:24 +0530
commit1dc7c23b2fcbe59b5169817299b05282598e23cc (patch)
tree5c7dc19b463da6ef29c882332496e94e88351e60
parent74e9bf4f318c90954003a2fccadd2ac5805102a6 (diff)
parent5bdcfbc2ce8b002a80c433ddd2d75063bdf4c366 (diff)
Merge branch 'bash_completion' of https://github.com/martinetd/kitty
-rw-r--r--kitty/complete.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kitty/complete.py b/kitty/complete.py
index 1bc106c6..4f2fe6e5 100644
--- a/kitty/complete.py
+++ b/kitty/complete.py
@@ -44,7 +44,7 @@ _kitty() {
compdef _kitty kitty
''',
'bash': '''
-kitty_completions() {
+_kitty_completions() {
local src
local limit
# Send all words up to the word the cursor is currently on
@@ -55,7 +55,7 @@ kitty_completions() {
fi
}
-complete -o nospace -F kitty_completions kitty
+complete -o nospace -F _kitty_completions kitty
''',
'fish': '''
function __kitty_completions