comment gpg and add alias ldap search
This commit is contained in:
parent
39e749ab7f
commit
a0acdd69af
2 changed files with 5 additions and 3 deletions
2
bashrc.d/alias_ldap_search
Normal file
2
bashrc.d/alias_ldap_search
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/bash
|
||||||
|
alias ldap_search='ldapsearch -z 0 -t -x -w "$(pass show Imp_2023-03-10/Koti.site/omapilvi.koti.site | head -n 1)" -LLL -H ldap://ldap.koti.site:389 -b dc=koti,dc=site -D "uid=${USER},ou=People,ou=Users,dc=koti,dc=site"'
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# GPG and SSH
|
# GPG and SSH
|
||||||
SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
# SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||||
export SSH_AUTH_SOCK
|
# export SSH_AUTH_SOCK
|
||||||
gpgconf --launch gpg-agent
|
# gpgconf --launch gpg-agent
|
||||||
|
|
Loading…
Reference in a new issue