The following commit has been merged in the master branch:
commit 07db41e38f5d4da5499cc3eec6dfe01fb738c415
Author: Ville Skyttä <[email protected]>
Date:   Wed Dec 30 23:05:29 2009 +0200

    Don't list non-working "rtc" in --device completions.

diff --git a/contrib/rtcwake b/contrib/rtcwake
index 42637e6..0169fb6 100644
--- a/contrib/rtcwake
+++ b/contrib/rtcwake
@@ -17,7 +17,7 @@ _rtcwake()
             return 0
             ;;
         --device|-d)
-            COMPREPLY=( $( command ls -d /dev/rtc* 2>/dev/null ) )
+            COMPREPLY=( $( command ls -d /dev/rtc?* 2>/dev/null ) )
             COMPREPLY=( $( compgen -W '${comprep...@]#/dev/}' -- "$cur" ) )
             return 0
             ;;

-- 
bash-completion

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

Reply via email to