Configure SSH Agent location. On most systems this will require a
systemd user unit to start the SSH agent.
This commit is contained in:
parent
318848c4dd
commit
194c9d6982
3 changed files with 5 additions and 0 deletions
1
stowers/fish/dot-config/fish/conf.d/02-ssh-agent.fish
Normal file
1
stowers/fish/dot-config/fish/conf.d/02-ssh-agent.fish
Normal file
|
|
@ -0,0 +1 @@
|
|||
set -Ux SSH_AUTH_SOCK "$XDG_RUNTIME_DIR/ssh-agent.socket"
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
# This file contains fish universal variable definitions.
|
||||
# VERSION: 3.0
|
||||
SETUVAR --export SSH_AUTH_SOCK:/run/user/1000/ssh\x2dagent\x2esocket
|
||||
SETUVAR --export WORKSPACE_DIR:/home/eyedevelop/spaces/workspace
|
||||
SETUVAR __fish_initialized:3400
|
||||
SETUVAR fish_color_autosuggestion:brblack
|
||||
|
|
|
|||
3
stowers/zsh/dot-zshrc.d/02-ssh-agent.sh
Normal file
3
stowers/zsh/dot-zshrc.d/02-ssh-agent.sh
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket"
|
||||
Loading…
Add table
Reference in a new issue