Add aspell --add-filter|--rem-filter completions.

This commit is contained in:
Ville Skyttä 2011-03-03 23:25:21 +02:00
parent da2d63fb19
commit c60896e0e1

View File

@ -53,6 +53,11 @@ _aspell()
_aspell_dictionary _aspell_dictionary
return 0 return 0
;; ;;
--add-filter|--rem-filter)
COMPREPLY=( $( compgen -W "$( $1 filters 2>/dev/null | \
awk '{ print $1 }' )" -- "$cur" ) )
return 0
;;
esac esac
$split && return 0 $split && return 0