Update early-init.zsh
This commit is contained in:
parent
da4f9d56d3
commit
c3f012d74a
@ -1,24 +1,24 @@
|
|||||||
# Some extra environment variables
|
# Some extra environment variables
|
||||||
export PATH="${HOME}/.local/bin:${PATH}"
|
export PATH="${HOME}/.local/bin:${PATH}"
|
||||||
|
|
||||||
add_ssh_keys() {
|
# add_ssh_keys() {
|
||||||
pass show ssh/personal_gitea | ssh-add ~/.ssh/personal_gitea
|
# pass show ssh/personal_gitea | ssh-add ~/.ssh/personal_gitea
|
||||||
pass show ssh/personal_server | ssh-add ~/.ssh/personal_server
|
# pass show ssh/personal_server | ssh-add ~/.ssh/personal_server
|
||||||
pass show ssh/gandi_vps | ssh-add ~/.ssh/gandi_vps
|
# pass show ssh/gandi_vps | ssh-add ~/.ssh/gandi_vps
|
||||||
pass show ssh/notabug | ssh-add ~/.ssh/notabug
|
# pass show ssh/notabug | ssh-add ~/.ssh/notabug
|
||||||
pass show ssh/aur | ssh-add ~/.ssh/aur
|
# 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
|
||||||
export LC_ALL=en_US.UTF-8
|
export LC_ALL=en_US.UTF-8
|
||||||
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_REQUIRE="force" \
|
||||||
SSH_ASKPASS="/usr/local/bin/ssh-askpass-cat.sh" \
|
# SSH_ASKPASS="/usr/local/bin/ssh-askpass-cat.sh" \
|
||||||
add_ssh_keys &
|
# add_ssh_keys &
|
||||||
|
|
||||||
if ! [[ -v WAYLAND_DISPLAY ]] && [ "${XDG_VTNR}" -eq 1 ]; then
|
if ! [[ -v WAYLAND_DISPLAY ]] && [ "${XDG_VTNR}" -eq 1 ]; then
|
||||||
exec Hyprland
|
exec Hyprland
|
||||||
|
Loading…
Reference in New Issue
Block a user