Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] bottom: shell completions
@ 2021-03-14 11:02 zweimach
  2021-03-14 15:19 ` ericonr
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: zweimach @ 2021-03-14 11:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 849 bytes --]

There is a new pull request by zweimach against master on the void-packages repository

https://github.com/zweimach/void-packages bottom-completions
https://github.com/void-linux/void-packages/pull/29455

bottom: shell completions
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR (tested on bash and zsh)

NOTE: I follow `ripgrep/template` file for installing shell completions

A patch file from https://github.com/void-linux/void-packages/pull/29455.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-bottom-completions-29455.patch --]
[-- Type: text/x-diff, Size: 818 bytes --]

From dd8fe379ec6c380db7865e4506313a81ea7a8815 Mon Sep 17 00:00:00 2001
From: Ananda Umamil <zweimach@zweimach.org>
Date: Sun, 14 Mar 2021 17:37:44 +0700
Subject: [PATCH] bottom: shell completions

---
 srcpkgs/bottom/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/bottom/template b/srcpkgs/bottom/template
index 9d5fbd8dbfd0..00bf04a1b368 100644
--- a/srcpkgs/bottom/template
+++ b/srcpkgs/bottom/template
@@ -13,4 +13,9 @@ checksum=49e01a2930d913dba2a1329389faddb4b3971a6b0c08f7482d2759475d5cc27c
 post_install() {
 	vdoc README.md
 	vlicense LICENSE
+
+	cd "target/${RUST_TARGET}/release/build/bottom-"*/out
+	vinstall _btm 0644 usr/share/zsh/site-functions
+	vinstall btm.bash 0644 usr/share/bash-completion/completions btm
+	vinstall btm.fish 0644 usr/share/fish/vendor_completions.d
 }

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-05-15  0:53 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-14 11:02 [PR PATCH] bottom: shell completions zweimach
2021-03-14 15:19 ` ericonr
2021-03-14 15:20 ` ericonr
2021-03-14 15:56 ` [PR PATCH] [Updated] " zweimach
2021-03-14 16:27 ` zweimach
2021-03-14 16:41 ` zweimach
2021-03-17 13:54 ` ericonr
2021-04-11  3:35 ` ericonr
2021-05-09 21:04 ` zweimach
2021-05-09 21:10 ` ericonr
2021-05-15  0:53 ` ericonr
2021-05-15  0:53 ` [PR PATCH] [Closed]: " ericonr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).