bash-completion
oh-my-bash
bash-completion | oh-my-bash | |
---|---|---|
11 | 25 | |
2,733 | 5,329 | |
- | 1.4% | |
9.6 | 8.7 | |
4 days ago | 3 days ago | |
Shell | Shell | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bash-completion
-
How can I add this functionality to my Bash?
Look into the bash-completion project. I'm not sure about "brief descriptions", though: It's possible with bash's programmable completion functionality, but I don't think bash-completion even tries to do that.
-
Terminal auto completion?
What exactly do you mean. bash by itself only has very limited autocompletion. With tools like this and some manual work you can make it better.
-
bash-completor: Creating a bash completion script in a declarative way
Even though there is a library of completion scripts like scop/bash-completion, it only includes common commands. For some commands that are not commonly used, we have to write completion scripts by hand.
-
cannot get bash to do case-insensitive completion
BTW, it's not needed to assign $cur for the word containing the current cursor position, or prev=${COMP_WORDS[COMP_CWORD-1]}; it's already in bash-completion lib, and can be reused with _comp_initialize (renamed from _init_completion):
- what is it called when you see terminal candidates
-
Is there any project for PowerShell like bash-completion where I can propose my custom completers for external commands?
bash-completion - is a collection of command line command completions for the Bash shell, collection of helper functions to assist in creating new completions, and set of facilities for loading completions automatically on demand, as well as installing them.
- How to make bash colorful like zsh ohmyzsh? And have autocomplete?
-
I want to decrypt LUKS drive from live usb. I don't have luksOpen command.
Tab completion doesn't come from the "cryptsetup" program itself, it comes from a third-party project (https://github.com/scop/bash-completion)
-
Is it konsole or Linux that is missing this functionality? Autocomplete on second + words
Neither the terminal emulator (konsole in your case) nor Linux are the relevant piece of software. What matters is the shell and whether there are completion scripts for those commands. On my system (Debian with bash) completion works for both sudo and flatpak. The completions for sudo are provided by https://github.com/scop/bash-completion, the ones for flatpak are part of the flatpak package.
-
Is there a utility that will assist with terminal commands like a tab triggered snippet?
Also take a look into https://github.com/scop/bash-completion which might be available as a package on your distro, named most likely bash-completion.
oh-my-bash
-
is there a way to make my bash prompt look like this?
Oh-my-bash would git you all the way there.
-
My Fedora 38 setup:
This link is the main page of Oh My Bash: https://github.com/ohmybash/oh-my-bash
- Ubuntu basic configuration
-
PS1 help. How can i color this angle > (like in the link) in bash ?!!
The bash equivalent is called ohmybash.
- How do I color code my branches like this?
-
Switching to Zsh
Similarly, there's a project called oh-my-bash which might be worth looking into -- you don't really have to use it as a config manager if you don't want to, it's very easy to cherry-pick the modules you want, and either source them or copy directly into your bashrc.
-
Yet another PS1
my thoughts are that https://github.com/ohmybash/oh-my-bash exists
-
Does Bash have something like Powershell's MenuComplete?
you could look at https://github.com/ohmybash/oh-my-bash I am sure there are some auto completion plugins...or you could look at fig.
-
Fuzzy file completion in bash
Not sure because it's not something that matters to me but oh-my-bash exists so you could give it a go.
- How to get oh-my-bash (note: NOT -zsh) installed declaratively
What are some alternatives?
fzf-tab - Replace zsh's default completion selection menu with fzf!
bash-it - A community Bash framework.
nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
ohmyzsh - 🙃 A delightful community-driven (with 2,300+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
zsh-completions - Additional completion definitions for Zsh.
zsh-autosuggestions - Fish-like autosuggestions for zsh
fzf-tab-completion - Tab completion using fzf
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
Modules
synth-shell - Boost your terminal, script by script
PS-GuiCompletion - A graphical menu for PowerShell tab completions.
zsh-vi-mode - 💻 A better and friendly vi(vim) mode plugin for ZSH.