diff options
| author | pml68 <contact@pml68.dev> | 2025-09-03 18:42:44 +0200 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2025-09-03 20:00:18 +0200 |
| commit | 82e1f3835335d143bbbf8cb0378ff36822ea9483 (patch) | |
| tree | 8e55cab2cda1cc42df7c0a4c21392b2d6f4394bf /shell-completions/aur.completor.bash | |
| parent | fix: only run `git diff` when _update has pulled changes (diff) | |
| download | aur-82e1f3835335d143bbbf8cb0378ff36822ea9483.tar.gz | |
feat: add -v/--version option
Diffstat (limited to '')
| -rw-r--r-- | shell-completions/aur.completor.bash (renamed from aur.completor.bash) | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/aur.completor.bash b/shell-completions/aur.completor.bash index 48c6e8b..cb83422 100644 --- a/aur.completor.bash +++ b/shell-completions/aur.completor.bash @@ -4,6 +4,7 @@ cmd=aur cmd_args=@aur_pkgs cmd_opts=( -h --help + -v --version -l --list -f --force -g --git @@ -14,5 +15,5 @@ cmd_opts=( reply_aur_pkgs() { pkgs=$(basename -a ~/.aur/*/ | paste -d ' ' -s -) - COMPREPLY=( "$(compgen -W "$pkgs" -- "$cur")" ) + COMPREPLY=( $(compgen -W "$pkgs" -- "$cur") ) } |
