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 +-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'Shell') 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" -- cgit v1.2.3-13-gbd6f