add: shortcut handler for kitty
This commit is contained in:
@@ -6,7 +6,7 @@ _dao_completion() {
|
||||
COMPREPLY=()
|
||||
cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
|
||||
mapfile -t commands < <(printf "update\ntransfer\npwgen\nmount\n")
|
||||
mapfile -t commands < <(printf "kitty\nmount\npwgen\nupdate\n")
|
||||
|
||||
case "${COMP_CWORD}" in
|
||||
1)
|
||||
@@ -17,8 +17,8 @@ _dao_completion() {
|
||||
pwgen)
|
||||
mapfile -t COMPREPLY < <(compgen -W "3 4 5 6 7 8 9 10" -- "${cur}")
|
||||
;;
|
||||
transfer)
|
||||
mapfile -t COMPREPLY < <(compgen -W "-d -u -uc -ur" -- "${cur}")
|
||||
kitty)
|
||||
mapfile -t COMPREPLY < <(compgen -W "--list --new-instance --new-tab" -- "${cur}")
|
||||
;;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user