fish: conf.d/setup: Set environment variable required by ssh-agent
This commit is contained in:
parent
26d7647b1f
commit
3600310085
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@ function __fish_setup_on_tty_login --description "Set up environment on tty logi
|
|||
set -qx XDG_CACHE_HOME; or set -Ux XDG_CACHE_HOME $HOME/.cache
|
||||
set -qx XDG_DATA_HOME; or set -Ux XDG_DATA_HOME $HOME/.local/share
|
||||
set -qx XDG_STATE_HOME; or set -Ux XDG_STATE_HOME $HOME/.local/state
|
||||
set -qx SSH_AUTH_SOCK; or set -Ux SSH_AUTH_SOCK $XDG_RUNTIME_DIR/ssh-agent.socket
|
||||
|
||||
for extra_path in ~/.{local,nix-profile,cargo,cabal,ghcup}/bin
|
||||
if test -d "$extra_path"
|
||||
|
|
Loading…
Reference in a new issue