aboutsummaryrefslogtreecommitdiffstats
path: root/bash-completion
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@gmail.com>2017-09-10 22:02:38 +0200
committerGuillaume Rousse <guillomovitch@gmail.com>2017-09-10 22:02:38 +0200
commit5cba5daa64dd8591c39bd55b54fb4c9536dcd54b (patch)
tree2c6a246362c3c8ec7e3e7d3abb890a6698ccc428 /bash-completion
parent887d888c6208aae573b01325770836dd9ade9db8 (diff)
downloadmgarepo-5cba5daa64dd8591c39bd55b54fb4c9536dcd54b.tar
mgarepo-5cba5daa64dd8591c39bd55b54fb4c9536dcd54b.tar.gz
mgarepo-5cba5daa64dd8591c39bd55b54fb4c9536dcd54b.tar.bz2
mgarepo-5cba5daa64dd8591c39bd55b54fb4c9536dcd54b.tar.xz
mgarepo-5cba5daa64dd8591c39bd55b54fb4c9536dcd54b.zip
syntax simplification
Diffstat (limited to 'bash-completion')
-rwxr-xr-xbash-completion/mgarepo6
1 files changed, 3 insertions, 3 deletions
diff --git a/bash-completion/mgarepo b/bash-completion/mgarepo
index d4026d4..fb7221b 100755
--- a/bash-completion/mgarepo
+++ b/bash-completion/mgarepo
@@ -80,11 +80,11 @@ _mgarepo()
_filedir 'src.rpm'
return 0
;;
- @(del|upload))
+ del|upload)
_filedir
return 0
;;
- @(co|checkout|getspec|rpmlog|getsrpm|changed|obsolete))
+ co|checkout|getspec|rpmlog|getsrpm|changed|obsolete)
_cauldron_packages
return 0
;;
@@ -92,7 +92,7 @@ _mgarepo()
COMPREPLY=( $( compgen -W "get set" -- $cur ) )
return 0
;;
- @(sync|ci|commit))
+ sync|ci|commit)
_filedir -d
return 0
;;