mirror of
https://github.com/pi-hole/pi-hole.git
synced 2026-08-04 14:53:09 +00:00
9 lines
352 B
Bash
9 lines
352 B
Bash
#!/bin/bash
|
|
#
|
|
# Bash completion script for pihole-FTL
|
|
#
|
|
# This completion script provides tab completion for pihole-FTL CLI flags and commands.
|
|
# It uses the `pihole-FTL --complete` command to generate the completion options.
|
|
_complete_FTL() { mapfile -t COMPREPLY < <(pihole-FTL --complete "${COMP_WORDS[@]}"); }
|
|
|
|
complete -F _complete_FTL pihole-FTL
|