yay path
This commit is contained in:
parent
b768a0c373
commit
99cea9cf84
2 changed files with 16 additions and 0 deletions
10
.config/systemd/user/ssh-agent.service
Normal file
10
.config/systemd/user/ssh-agent.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=SSH Key Agent
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
|
||||
ExecStart=/usr/bin/ssh-agent -a $SSH_AUTH_SOCK
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
6
.profile
6
.profile
|
@ -1,5 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
|
||||
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
|
||||
export PATH=$PATH:/home/ltc/bin
|
||||
|
||||
|
||||
[ -f ~/.bashrc ] && source "$HOME/.bashrc"
|
||||
|
||||
[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x i3 > /dev/null && exec startx
|
||||
|
|
Loading…
Reference in a new issue