The following commit has been merged in the master branch:
commit 91daa8de58a6e88d5a4b55621e2e7d5e732c65ea
Author: Guillaume Rousse <[email protected]>
Date:   Mon Mar 30 21:59:58 2009 +0200

    add options completion

diff --git a/contrib/screen b/contrib/screen
index 84c5fb6..a549b76 100644
--- a/contrib/screen
+++ b/contrib/screen
@@ -56,5 +56,11 @@ _screen()
                        return 0
                        ;;
        esac
+
+       if [[ "$cur" == -* ]]; then
+               COMPREPLY=( $( compgen -W '-a -A -c -d -D -e -f -fn -fa -h -i \
+                       -l -ln -ls -list -L -m -O -p -q -r -R -s -S -t -U -v \
+                       -wipe -x -X' -- $cur ) )
+       fi
 } &&
 complete -F _screen $default screen

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits

Reply via email to