feat(environment.d): configure systemd ssh-agent if available

This commit is contained in:
gliech 2024-07-16 09:14:25 +02:00
parent 9c0d5fa34e
commit 377e79435b
2 changed files with 5 additions and 0 deletions

View file

@ -0,0 +1,4 @@
if [[ -e ${XDG_CONFIG_HOME:-$HOME/.config}/systemd/user/default.target.wants/ssh-agent.service ]]
then
SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent.socket
fi

1
.github/README.md vendored
View file

@ -39,6 +39,7 @@ git --work-tree=$HOME --git-dir=$HOME/.dotgit checkout master
- fix the umask
- Vim put the Yaml indent Stuff in a proper filetype detection script (ftplugin?)
- Vim also add cfn filetype for cfn-lint
- enable user systemd units during install (for example the sysd ssh-agent)
## Echos to be replaced by msg()
- fuck error msg