There is a bash completion file in the tmux tarball. But currently the ebuild doesn't deal with the file. Reproducible: Always Steps to Reproduce: 1.run: # emerge tmux 2.check the installed files: $ equery files tmux 3.there is no such bash completion file in /usr/share/bash-completion/ Expected Results: There should be a file named "tmux" under /usr/share/bash-completion/
Created attachment 334806 [details] new ebuild for tmux I have add some code to install the bash completion file. (just for tmux-1.7.ebuild, but the same lines should also be added to other tmux ebuilds)
Comment on attachment 334806 [details] new ebuild for tmux --- tmux-1.7.ebuild 2012-12-28 18:58:30.000000000 +0100 +++ - 2013-01-08 15:59:27.910600502 +0100 @@ -4,6 +4,8 @@ EAPI=4 +inherit bash-completion-r1 + DESCRIPTION="Terminal multiplexer" HOMEPAGE="http://tmux.sourceforge.net" SRC_URI="mirror://sourceforge/tmux/${P}.tar.gz" @@ -49,6 +51,8 @@ src_install() { default + newbashcomp examples/bash_completion_tmux.sh ${PN} + docinto examples dodoc examples/*.conf
+*tmux-1.7-r1 (08 Jan 2013) + + 08 Jan 2013; Justin Lecher <jlec@gentoo.org> tmux-1.6.ebuild, + tmux-1.7.ebuild, +tmux-1.7-r1.ebuild, tmux-9999.ebuild, metadata.xml: + Install bashcompletion file, #450896 +