summaryrefslogtreecommitdiff
path: root/completions/removepkg
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.net.br>2019-08-07 09:17:13 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.net.br>2019-08-07 09:17:13 -0300
commit5732da2af736c40cf693354485446ab4867ecb4d (patch)
tree76d76cdfa16ca62d20fb109da13895ec64fff110 /completions/removepkg
parent9cd22d1df8f0f5b554858471c86faa9f37b8fed4 (diff)
downloadbash-completion-5732da2af736c40cf693354485446ab4867ecb4d.tar.gz
New upstream version 2.9upstream/2.9
Diffstat (limited to 'completions/removepkg')
-rw-r--r--completions/removepkg6
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/removepkg b/completions/removepkg
index eaeb70a7..77f414f6 100644
--- a/completions/removepkg
+++ b/completions/removepkg
@@ -5,7 +5,7 @@ _removepkg()
local cur prev words cword
_init_completion || return
if [[ "$cur" == -* ]]; then
- COMPREPLY=( $( compgen -W '-copy -keep -preserve -warn' -- "$cur" ) )
+ COMPREPLY=( $(compgen -W '-copy -keep -preserve -warn' -- "$cur") )
return
fi
@@ -15,8 +15,8 @@ _removepkg()
fi
local root=${ROOT:-/}
- COMPREPLY=( $( cd "$root/var/log/packages" 2> /dev/null || return 1; \
- compgen -f -- "$cur" ) )
+ COMPREPLY=( $(cd "$root/var/log/packages" 2>/dev/null || return 1; \
+ compgen -f -- "$cur") )
} &&
complete -F _removepkg removepkg