1
0
Fork 0
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:
L3D 2021-03-11 21:42:35 +01:00
parent 5db81d71a5
commit f8d8ee7deb
Signed by: l3d
GPG key ID: CD08445BFF4313D1

View file

@ -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
# #