Fixed error in if statement
This commit is contained in:
parent
da97e41c2a
commit
3acaa93b14
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ setopt hist_verify # show command with history expansion to user befo
|
||||||
unsetopt ksharrays # 0-indexing arrays breaks highlighting
|
unsetopt ksharrays # 0-indexing arrays breaks highlighting
|
||||||
|
|
||||||
# Start gpg agent
|
# Start gpg agent
|
||||||
if [ -z "$(pidof gpg-agent)" ];
|
if [ -z "$(pidof gpg-agent)" ]; then
|
||||||
unset SSH_AGENT_PID
|
unset SSH_AGENT_PID
|
||||||
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
||||||
eval $(gpg-agent --daemon)
|
eval $(gpg-agent --daemon)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue