~ssh-agent and ssh-add

This commit is contained in:
2020-09-01 21:42:12 +01:00
parent f4bae31197
commit 73f4500f0b
3 changed files with 4 additions and 4 deletions

View File

@@ -11,6 +11,7 @@ export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
export DOTNET_CLI_TELEMTRY_OPTOUT=1
export force_color_prompt=yes
export guile=guile2.2
export TERM=xterm-256color
# XDG variables
export XDG_CONFIG_HOME="$HOME/.config"
@@ -20,3 +21,5 @@ export XDG_RUNTIME_DIR=/run/user/`id -u`
# Run some programs
/usr/bin/pfetch
eval `ssh-agent`;
ssh-add -t 1h ~/.ssh/id_rsa

View File

@@ -1,8 +1,6 @@
# zshrc -*- mode: sh; lexical-binding: t; -*-
## Aliases
setopt autocd
export TERM=xterm-256color
alias vim="nvim"
alias clip="xclip -sel clip"
alias paste="xclip -o"
@@ -16,6 +14,7 @@ alias sedit="eserver -a emacs -c"
alias dre="doom sync"
## ZSH
setopt autocd
export ZSH_THEME="af-magic"
PS1="%B%F{blue}[%(4~|...|)%3~]
%F{white}λ %b%f%k"

View File

@@ -7,8 +7,6 @@ killall sxhkd;
sh .xprofile;
xset s 1800;
eval `ssh-agent`;
$(xss-lock --transfer-sleep-lock -- lock) &
feh --randomize --bg-scale $HOME/Pictures/Backgrounds &