Update local-early.zsh.example
This commit is contained in:
parent
ed2839f541
commit
14f4e29d59
@ -5,8 +5,6 @@ export _JAVA_AWT_WM_NONREPARENTING=1
|
|||||||
export DEBUGINFOD_URLS="https://debuginfod.archlinux.org"
|
export DEBUGINFOD_URLS="https://debuginfod.archlinux.org"
|
||||||
|
|
||||||
add_ssh_keys() {
|
add_ssh_keys() {
|
||||||
pass show ssh/desktop | ssh-add ~/.ssh/desktop
|
|
||||||
pass show ssh/notabug | ssh-add ~/.ssh/notabug
|
|
||||||
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
|
||||||
@ -20,11 +18,7 @@ if [[ -o login ]]; then
|
|||||||
eval "$(ssh-agent)"
|
eval "$(ssh-agent)"
|
||||||
SSH_ASKPASS_REQUIRE="force" SSH_ASKPASS="/usr/local/bin/ssh-askpass-cat.sh" add_ssh_keys
|
SSH_ASKPASS_REQUIRE="force" SSH_ASKPASS="/usr/local/bin/ssh-askpass-cat.sh" add_ssh_keys
|
||||||
|
|
||||||
if ! [[ -v DISPLAY ]] && [ "${XDG_VTNR}" -eq 1 ]; then
|
exec startx
|
||||||
startx
|
|
||||||
sudo prime-switch
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
function define_java_alias() {
|
function define_java_alias() {
|
||||||
|
Loading…
Reference in New Issue
Block a user