Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#74696 - parallell miss shell completion script

Attached to Project: Community Packages
Opened by Wu Zhenyu (Freed) - Tuesday, 10 May 2022, 15:45 GMT
Last edited by Toolybird (Toolybird) - Saturday, 09 July 2022, 02:11 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Easy to fix the bug. Just

```
parallel --shell-completion zsh > /usr/share/zsh/site-functions/_parallel
parallel --shell-completion bash > /usr/share/bash-completion/parallel
```

Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
This task depends upon

Closed by  Toolybird (Toolybird)
Saturday, 09 July 2022, 02:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  parallel 20220622-1
Comment by Wu Zhenyu (Freed) - Tuesday, 10 May 2022, 15:50 GMT
```
parallel --shell-completion bash > /usr/share/bash-completion/completions/parallel
```
Comment by Wu Zhenyu (Freed) - Thursday, 12 May 2022, 04:58 GMT
According to `man parallel`, should

```
--shell-completion shell (alpha testing)
Generate shell completion code for interactive shells.

Supported shells: bash zsh.

Use auto as shell to automatically detect running shell.

Activate the completion code with:

zsh% eval "$(parallel --shell-completion auto)"
bash$ eval "$(parallel --shell-completion auto)"

Or put this `/usr/share/zsh/site-functions/_parallel`, then `compinit` to generate `~/.zcompdump`:

#compdef parallel

(( $+functions[_comp_parallel] )) ||
eval "$(parallel --shell-completion auto)" &&
_comp_parallel
```

Loading...