1 |
commit: 786669467b07df80f4840431454f0a8acf2b173d |
2 |
Author: Luciano Degni <degni.public <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Feb 26 09:32:29 2022 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 26 09:32:52 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=78666946 |
7 |
|
8 |
app-misc/zellij: fixed completion |
9 |
|
10 |
Signed-off-by: Luciano Degni <degni.public <AT> gmail.com> |
11 |
|
12 |
app-misc/zellij/zellij-0.25.0.ebuild | 18 +++++++++++------- |
13 |
1 file changed, 11 insertions(+), 7 deletions(-) |
14 |
|
15 |
diff --git a/app-misc/zellij/zellij-0.25.0.ebuild b/app-misc/zellij/zellij-0.25.0.ebuild |
16 |
index 611b13781..84b687839 100644 |
17 |
--- a/app-misc/zellij/zellij-0.25.0.ebuild |
18 |
+++ b/app-misc/zellij/zellij-0.25.0.ebuild |
19 |
@@ -343,6 +343,9 @@ QA_FLAGS_IGNORED="usr/bin/.*" |
20 |
|
21 |
src_compile() { |
22 |
cargo_src_compile |
23 |
+ ./target/release/zellij setup --generate-completion bash > target/zellij |
24 |
+ ./target/release/zellij setup --generate-completion fish > target/zellij.fish |
25 |
+ ./target/release/zellij setup --generate-completion zsh > target/_zellij |
26 |
} |
27 |
|
28 |
src_install() { |
29 |
@@ -354,27 +357,28 @@ src_install() { |
30 |
fi |
31 |
|
32 |
insinto "/usr/share/zellij/plugins/" |
33 |
- doins-r assets/plugins/* |
34 |
+ doins -r assets/plugins/* |
35 |
|
36 |
if use bash-completion; then |
37 |
insinto "usr/share/bash-completion/completions/" |
38 |
- doins assets/completions/zellij.bash |
39 |
+ doins target/zellij |
40 |
fi |
41 |
|
42 |
if use fish-completion; then |
43 |
- insinto usr/share/fish/vendor_completions.d/ |
44 |
- doins assets/completions/zellij.fish |
45 |
+ insinto "usr/share/fish/vendor_completions.d/" |
46 |
+ doins target/zellij.fish |
47 |
fi |
48 |
|
49 |
if use zsh-completion; then |
50 |
- insinto usr/share/zsh/vendor-completions/ |
51 |
- use zsh && doins assets/completions/_zellij |
52 |
+ insinto "usr/share/zsh/vendor-completions/" |
53 |
+ doins target/_zellij |
54 |
fi |
55 |
|
56 |
domenu assets/zellij.desktop |
57 |
- doicon asserts/logo.png |
58 |
+ #doicon asserts/logo.png |
59 |
|
60 |
use doc && dodoc README.md GOVERNANCE.md |
61 |
+ use doc && dodoc docs/MANPAGE.md |
62 |
} |
63 |
|
64 |
pkg_postinst() { |