Github messages for voidlinux
 help / color / mirror / Atom feed
From: zweimach <zweimach@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] bottom: shell completions
Date: Sun, 14 Mar 2021 12:02:57 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-29455@inbox.vuxu.org> (raw)

[-- 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
 }

             reply	other threads:[~2021-03-14 11:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-14 11:02 zweimach [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-29455@inbox.vuxu.org \
    --to=zweimach@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).