feat: ssh-agent on startup
This commit is contained in:
parent
3416889521
commit
409c6993f2
5 changed files with 7 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
if ! pgrep -u "$USER" ssh-agent > /dev/null; then
|
||||
ssh-agent > "$XDG_RUNTIME_DIR/ssh-agent.env"
|
||||
fi
|
||||
|
||||
. "$XDG_RUNTIME_DIR/ssh-agent.env"
|
||||
|
||||
[ "$XDG_VTNR" = 1 ] && {
|
||||
GUILOG="$HOME/.local/share/gui.log"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue