Why is ruby-rdoc
a normal depends
here? It isn't listed on https://rubygems.org/gems/tmuxinator .
If it is needed for building of the package then it should be ok to list as a makedepends
.
Git Clone URL: | https://aur.archlinux.org/tmuxinator.git (read-only, click to copy) |
---|---|
Package Base: | tmuxinator |
Description: | Manage complex tmux sessions easily |
Upstream URL: | https://github.com/aziz/tmuxinator |
Licenses: | MIT |
Submitter: | lucacesari |
Maintainer: | fryfrog (flipee) |
Last Packager: | fryfrog |
Votes: | 76 |
Popularity: | 0.000961 |
First Submitted: | 2013-06-26 07:49 (UTC) |
Last Updated: | 2025-03-24 20:43 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 10 Next › Last »
Why is ruby-rdoc
a normal depends
here? It isn't listed on https://rubygems.org/gems/tmuxinator .
If it is needed for building of the package then it should be ok to list as a makedepends
.
@Ghosthree3 Good catch, thanks. Added as optdepend.
The change causes
error: failed to commit transaction (conflicting files)
tmuxinator: /usr/share/zsh/site-functions/_tmuxinator exists in filesystem (owned by zsh-completions)
for me. Seems zsh-completions already supplies this file.
@Segaja Done. Thanks.
Sorry for the inconvenience, but I recently learned that my information about completions was wrong. Completions should be for ZSH in /usr/share/zsh/site-functions/_${pkgname}
and for bash in /usr/share/bash-completion/completions/${pkgname}
as you can see in my AUR package for stern: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=stern
Would you be so kind as to move them to these locations in the next update? That way they will work out of the box for these shells.
I'm not a too big expert on ruby structure but I agree that it sounds odd for them to be there.
Btw I also contacted you on IRC. That might make this conversation faster ;)
Awesome, thanks for the details. I'll get them there in the next couple updates. I'm thinking I'll move (instead of copy) them out of the gem folder, seems dumb for them to be there.
Yes I think that is the general idea. It even states so in the wiki for example for the "command_not_found" handler: https://wiki.archlinux.org/index.php/Zsh#The_%22command_not_found%22_handler and https://wiki.archlinux.org/index.php/Bash#Command_not_found
How is one meant to load the completion files, just put it in your .bashrc?
Looking at other packages like fzf
and pkgfile
it seems the commont place would be /usr/share/<package/completion.zsh
but the filename at the end seems to vary and is used to split multiple completion files if there are any.
Obviously this is similar for bash and zsh. fzf
has them in the same folder /usr/share/fzf
with just different file extensions.
Pinned Comments
FrederickZh commented on 2021-04-15 13:37 (UTC)
@lewiji You need to rebuild AUR ruby gems after major ruby upgrades:
paru -Qqo /usr/lib/ruby/gems/2.7.0 | paru -S -- -