diff options
author | Ville Skyttä | 2013-04-07 10:12:05 +0200 |
---|---|---|
committer | Karel Zak | 2013-04-08 17:06:53 +0200 |
commit | d6b975ef4492543fb1d31709906193b3ae01d574 (patch) | |
tree | 26804bb5a3adca0a6ab4618d5f2542df0573c67e /bash-completion/ionice | |
parent | bash-completion: Don't offer any more completions after help or version. (diff) | |
download | kernel-qcow2-util-linux-d6b975ef4492543fb1d31709906193b3ae01d574.tar.gz kernel-qcow2-util-linux-d6b975ef4492543fb1d31709906193b3ae01d574.tar.xz kernel-qcow2-util-linux-d6b975ef4492543fb1d31709906193b3ae01d574.zip |
bash-completion: Avoid some unnecessary subshells.
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
Diffstat (limited to 'bash-completion/ionice')
-rw-r--r-- | bash-completion/ionice | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bash-completion/ionice b/bash-completion/ionice index e7a8ac868..4d5596896 100644 --- a/bash-completion/ionice +++ b/bash-completion/ionice @@ -6,11 +6,11 @@ _ionice_module() prev="${COMP_WORDS[COMP_CWORD-1]}" case $prev in '-c'|'--class') - COMPREPLY=( $(compgen -W "$(echo {0..3}) none realtime best-effort idle" -- $cur) ) + COMPREPLY=( $(compgen -W "{0..3} none realtime best-effort idle" -- $cur) ) return 0 ;; '-n'|'--classdata') - COMPREPLY=( $(compgen -W "$(echo {0..7})" -- $cur) ) + COMPREPLY=( $(compgen -W "{0..7}" -- $cur) ) return 0 ;; '-p'|'--pid') |