mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
ssh-agent: use POSIX conforming if condition
This commit is contained in:
parent
ecaed80b18
commit
f48b181f01
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
home.sessionVariablesExtra = ''
|
home.sessionVariablesExtra = ''
|
||||||
if [[ -z "$SSH_AUTH_SOCK" ]]; then
|
if [ -z "$SSH_AUTH_SOCK" ]; then
|
||||||
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent
|
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue