deb-get icon indicating copy to clipboard operation
deb-get copied to clipboard

Shell completion

Open yermulnik opened this issue 1 year ago • 4 comments

Requesting a new feature 🧑‍💻

Would be great to have Shell completion (for Bash at least) bundled into a deb-get package. Is there an item in deb-get's roadmap on adding such a feature?

Expected behavior

Shell completion is installed along with deb-get package and users can utilise tab-completion for commands and parameters.

Actual behavior

Shell completion is not install and hasn't been added to deb-get as of yet.

Steps to reproduce

Install deb-get and run deb-get<tab><tab>

System information

Run the following a paste the output below:

/etc/os-release

> cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.4 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.4 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal```

#### /etc/lsb-release

```bash
> cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.4 LTS"```

#### deb-get version

```bash
> deb-get version
0.3.5

yermulnik avatar Aug 23 '22 14:08 yermulnik

Hello there 👋 Thanks for submitting your first issue to the deb-get project 🐛 We'll try and take a look at your issue soon ⏲

In the meantime you might want to join the Wimpys World Discord 🗣 where we have a large community of Linux 🐧 enthusiasts and passionate open source developers 🧑‍💻

You might also be interested in following Wimpys World Twitch 📡 channel where Wimpy streams let's code video, including this project, several times a week. A back catalog of past live stream and other Linux related content is available on Wimpys World YouTube 📺 channel.

github-actions[bot] avatar Aug 23 '22 14:08 github-actions[bot]

I like this idea, anything that can save me a few key presses.

natanjunges avatar Aug 23 '22 22:08 natanjunges

I came up with an implementation, but without the optimizations from https://github.com/natanjunges/deb-get/tree/extrepo, which is a WIP implementation for #313, it is too slow. I'll wait until #313 is finished and merged before submitting it.

natanjunges avatar Sep 07 '22 21:09 natanjunges

@natanjunges Thank you for the time and effort 🙇🏻

yermulnik avatar Sep 08 '22 10:09 yermulnik

Closed by #523.

natanjunges avatar Oct 28 '22 16:10 natanjunges