diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index 99cdd44..715ff3f 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -44,6 +44,10 @@ fi # Locale settings as $LANG [[ ! -e "$XDG_CONFIG_HOME/locale.conf" ]] || . "$XDG_CONFIG_HOME/locale.conf" +# SSH +eval "$(ssh-agent)" >/dev/null + +# Editor if (( $+commands[nvim] )); then export EDITOR=nvim elif (( $+commands[vim] )); then @@ -54,6 +58,7 @@ elif (( $+commands[nano] )); then export EDITOR=nano fi +# Pager if (( $+commands[nvim] )); then export MANPAGER="nvim -c 'set ft=man' -" else diff --git a/.xinitrc b/.xinitrc index 6c64b73..7448103 100644 --- a/.xinitrc +++ b/.xinitrc @@ -43,9 +43,6 @@ unset touchpad # Muted at startup amixer -q -D pulse sset Master mute -# SSH -eval $(ssh-agent) - # Compositor compositor="${XDG_CONFIG_HOME:-$HOME/.config}"/compositor/launch.sh [ ! -x "$compositor" ] || "$compositor"