modinfo: Use ,, for lowercasing instead of tr in a subshell.

master
Ville Skyttä 2013-02-01 23:19:50 +02:00
parent 9d15e25a9e
commit 06002d04c7
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ _modinfo()
-F|--field)
COMPREPLY=( $( compgen -W 'alias author depends description
filename firmware license parm srcversion staging vermagic
version' -- "$(echo "$cur" | tr '[:upper:]' '[:lower:]')" ) )
version' -- "${cur,,}" ) )
return
;;
-k)