mirror of
https://github.com/nix-community/home-manager
synced 2024-11-14 00:47:12 +00: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 = ''
|
||||
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