Merge branch 'bash_completion' of https://github.com/martinetd/kitty
This commit is contained in:
commit
1dc7c23b2f
@ -44,7 +44,7 @@ _kitty() {
|
|||||||
compdef _kitty kitty
|
compdef _kitty kitty
|
||||||
''',
|
''',
|
||||||
'bash': '''
|
'bash': '''
|
||||||
kitty_completions() {
|
_kitty_completions() {
|
||||||
local src
|
local src
|
||||||
local limit
|
local limit
|
||||||
# Send all words up to the word the cursor is currently on
|
# Send all words up to the word the cursor is currently on
|
||||||
@ -55,7 +55,7 @@ kitty_completions() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
complete -o nospace -F kitty_completions kitty
|
complete -o nospace -F _kitty_completions kitty
|
||||||
''',
|
''',
|
||||||
'fish': '''
|
'fish': '''
|
||||||
function __kitty_completions
|
function __kitty_completions
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user