diff --git a/completions/aspell b/completions/aspell index 702f52f1..7b2e6f17 100644 --- a/completions/aspell +++ b/completions/aspell @@ -53,6 +53,11 @@ _aspell() _aspell_dictionary return 0 ;; + --add-filter|--rem-filter) + COMPREPLY=( $( compgen -W "$( $1 filters 2>/dev/null | \ + awk '{ print $1 }' )" -- "$cur" ) ) + return 0 + ;; esac $split && return 0