mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 07:04:17 +00:00
ssh-agent: use POSIX-conform test for session variables
This commit is contained in:
parent
d7830d0542
commit
c9366cfa02
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ in {
|
|||
];
|
||||
|
||||
home.sessionVariablesExtra = ''
|
||||
if [[ -z "$SSH_AUTH_SOCK" ]]; then
|
||||
if [ -z "$SSH_AUTH_SOCK" ]; then
|
||||
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent
|
||||
fi
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue