mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2025-05-16 02:23:09 +00:00
Some maintenance work around bashrc files
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
This commit is contained in:
parent
e34c3dd5ed
commit
094b8a0009
10 changed files with 44 additions and 35 deletions
11
.config/bash/completions/gopass.bash
Normal file
11
.config/bash/completions/gopass.bash
Normal file
|
@ -0,0 +1,11 @@
|
|||
_gopass_bash_autocomplete() {
|
||||
local cur opts base
|
||||
COMPREPLY=()
|
||||
cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
opts=$( ${COMP_WORDS[@]:0:$COMP_CWORD} --generate-bash-completion )
|
||||
local IFS=$'\n'
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
}
|
||||
|
||||
complete -F _gopass_bash_autocomplete gopass
|
Loading…
Add table
Add a link
Reference in a new issue