add: shortcut handler for kitty

This commit is contained in:
Jamie Albert
2025-11-13 20:54:37 +00:00
parent ee0be951e3
commit 812d192552
4 changed files with 108 additions and 25 deletions

View File

@@ -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