summaryrefslogtreecommitdiffstats
path: root/bash-completion/flock
diff options
context:
space:
mode:
authorVille Skyttä2013-04-07 10:12:05 +0200
committerKarel Zak2013-04-08 17:06:53 +0200
commitd6b975ef4492543fb1d31709906193b3ae01d574 (patch)
tree26804bb5a3adca0a6ab4618d5f2542df0573c67e /bash-completion/flock
parentbash-completion: Don't offer any more completions after help or version. (diff)
downloadkernel-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/flock')
-rw-r--r--bash-completion/flock2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash-completion/flock b/bash-completion/flock
index 3f094e37d..918a7d894 100644
--- a/bash-completion/flock
+++ b/bash-completion/flock
@@ -10,7 +10,7 @@ _flock_module()
return 0
;;
'-E'|'--conflict-exit-code')
- COMPREPLY=( $(compgen -W "$(echo {0..255})" -- $cur) )
+ COMPREPLY=( $(compgen -W "{0..255}" -- $cur) )
return 0
;;
'-c'|'--command')