Remove old ssh stuff in early-init.zsh

This commit is contained in:
Alexander Rosenberg 2024-08-07 15:07:07 -07:00
parent edddc6ece7
commit b67571bd7a
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -1,14 +1,6 @@
# Some extra environment variables # Some extra environment variables
export PATH="${HOME}/.local/bin:${PATH}" export PATH="${HOME}/.local/bin:${PATH}"
# add_ssh_keys() {
# pass show ssh/personal_gitea | ssh-add ~/.ssh/personal_gitea
# pass show ssh/personal_server | ssh-add ~/.ssh/personal_server
# pass show ssh/gandi_vps | ssh-add ~/.ssh/gandi_vps
# pass show ssh/notabug | ssh-add ~/.ssh/notabug
# pass show ssh/aur | ssh-add ~/.ssh/aur
# }
# Because I use zsh to start graphical sessions # Because I use zsh to start graphical sessions
[[ -v ZSH_GRAPHICAL_LOGIN ]] || ZSH_GRAPHICAL_LOGIN=true [[ -v ZSH_GRAPHICAL_LOGIN ]] || ZSH_GRAPHICAL_LOGIN=true
if [[ -o login ]] && [[ "${ZSH_GRAPHICAL_LOGIN}" = 'true' ]] ; then if [[ -o login ]] && [[ "${ZSH_GRAPHICAL_LOGIN}" = 'true' ]] ; then
@ -16,9 +8,6 @@ if [[ -o login ]] && [[ "${ZSH_GRAPHICAL_LOGIN}" = 'true' ]] ; then
eval "$(gnome-keyring-daemon --start 2>/dev/null)" eval "$(gnome-keyring-daemon --start 2>/dev/null)"
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/gcr/ssh" export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/gcr/ssh"
export SSH_ASKPASS=/usr/lib/seahorse/ssh-askpass export SSH_ASKPASS=/usr/lib/seahorse/ssh-askpass
# SSH_ASKPASS_REQUIRE="force" \
# SSH_ASKPASS="/usr/local/bin/ssh-askpass-cat.sh" \
# add_ssh_keys &
if ! [[ -v WAYLAND_DISPLAY ]] && [ "${XDG_VTNR}" -eq 1 ]; then if ! [[ -v WAYLAND_DISPLAY ]] && [ "${XDG_VTNR}" -eq 1 ]; then
source "${HOME}/.config/river/river-env.sh" source "${HOME}/.config/river/river-env.sh"