[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-106-g06002d0
Ville Skyttä
ville.skytta at iki.fi
Fri Feb 1 21:20:59 UTC 2013
The following commit has been merged in the master branch:
commit 06002d04c7cbfe9ac7c92508b6dcb7323627d07a
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Fri Feb 1 23:19:50 2013 +0200
modinfo: Use ,, for lowercasing instead of tr in a subshell.
diff --git a/completions/modinfo b/completions/modinfo
index 2a35987..f001684 100644
--- a/completions/modinfo
+++ b/completions/modinfo
@@ -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)
--
bash-completion
More information about the Bash-completion-commits
mailing list