dotfiles/zshrc: update

Remove unused Kitty and ASDF variables, and export SSH_AUTH_SOCK.
This commit is contained in:
Alan Orth 2022-08-12 16:21:55 -07:00
parent 50bb7df89e
commit afa622369b
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -37,7 +37,6 @@ if [[ "$OSTYPE" =~ ^linux.*$ ]]; then
# 2021-06-22: fix "Firefox is already running" message
# See: https://mastransky.wordpress.com/2020/03/16/wayland-x11-how-to-run-firefox-in-mixed-environment/
export MOZ_DBUS_REMOTE=1
export KITTY_ENABLE_WAYLAND=1
export QT_QPA_PLATFORM=wayland-egl
export CLUTTER_BACKEND=wayland
# 2020-02-10: https://github.com/swaywm/sway/wiki#issues-with-java-applications
@ -49,10 +48,6 @@ fi
{%@@ if profile == "balozi" @@%}
# Enable asdf version manager zsh completions
. /opt/asdf-vm/asdf.sh
# Enable setting JAVA_HOME, requires the asdf-java plugin installed for this
# user. Currently disabled because it adds a noticeable lag to the shell
# See: https://github.com/halcyon/asdf-java
#. ~/.asdf/plugins/java/set-java-home.zsh
{%@@ endif @@%}
alias ls='ls -F --color=auto'
@ -62,7 +57,6 @@ alias less='less -R' # preserves colors in GNU coreutils' `less`
# see: https://github.com/jan-warchol/selenized/tree/master/other-apps/dircolors
export LS_COLORS="$LS_COLORS:ow=1;7;34:st=30;44:su=30;41"
# Environment
export PS1='[%n@%m: %~]$ '
export EDITOR=vim
@ -103,6 +97,8 @@ export GPG_TTY=$(tty)
# Refresh gpg-agent tty in case user switches into an X Session
gpg-connect-agent updatestartuptty /bye >/dev/null
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
# Speed up JVM start for short-lived Java programs
# See: https://zeroturnaround.com/rebellabs/your-maven-build-is-slow-speed-it-up/
export MAVEN_OPTS="-XX:+TieredCompilation -XX:TieredStopAtLevel=1"