From 73f4500f0bbdb88ef027edbdb4ef0bcb74991b5a Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 1 Sep 2020 21:42:12 +0100 Subject: ~ssh-agent and ssh-add --- Shell/.zprofile | 3 +++ Shell/.zshrc | 3 +-- XServer/.xinitrc | 2 -- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Shell/.zprofile b/Shell/.zprofile index 583a962..bb651c6 100644 --- a/Shell/.zprofile +++ b/Shell/.zprofile @@ -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 diff --git a/Shell/.zshrc b/Shell/.zshrc index a2e21f8..8a25b3e 100644 --- a/Shell/.zshrc +++ b/Shell/.zshrc @@ -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" diff --git a/XServer/.xinitrc b/XServer/.xinitrc index e8dcca1..e41c949 100644 --- a/XServer/.xinitrc +++ b/XServer/.xinitrc @@ -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 & -- cgit v1.2.3-13-gbd6f