diff --git a/contrib/rtcwake b/contrib/rtcwake index 42637e6f..0169fb61 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 '${COMPREPLY[@]#/dev/}' -- "$cur" ) ) return 0 ;;