[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-28-gc60896e

Ville Skyttä ville.skytta at iki.fi
Thu Mar 3 21:26:35 UTC 2011


The following commit has been merged in the master branch:
commit c60896e0e1cb63a73cfe7805ba40268faa975413
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Thu Mar 3 23:25:21 2011 +0200

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

diff --git a/completions/aspell b/completions/aspell
index 702f52f..7b2e6f1 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

-- 
bash-completion



More information about the Bash-completion-commits mailing list