mirror of
https://github.com/DO1JLR/ansible_linux_desktop_setup.git
synced 2024-09-14 19:54:51 +02:00
configure gopass f00
This commit is contained in:
parent
5db81d71a5
commit
f8d8ee7deb
1 changed files with 12 additions and 1 deletions
|
@ -4,7 +4,18 @@
|
||||||
#
|
#
|
||||||
# enable keychain as ssh agent
|
# enable keychain as ssh agent
|
||||||
dotfiles__additional_user_bashrc_lines:
|
dotfiles__additional_user_bashrc_lines:
|
||||||
- eval $(keychain --eval --quiet id_ed25519)
|
- 'eval $(keychain --eval --quiet id_ed25519)'
|
||||||
|
- '_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'
|
||||||
|
|
||||||
|
|
||||||
# roles/authorized_keys
|
# roles/authorized_keys
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue