dotfiles/zshrc: update
Remove unused Kitty and ASDF variables, and export SSH_AUTH_SOCK.
This commit is contained in:
parent
50bb7df89e
commit
afa622369b
@ -37,7 +37,6 @@ if [[ "$OSTYPE" =~ ^linux.*$ ]]; then
|
|||||||
# 2021-06-22: fix "Firefox is already running" message
|
# 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/
|
# See: https://mastransky.wordpress.com/2020/03/16/wayland-x11-how-to-run-firefox-in-mixed-environment/
|
||||||
export MOZ_DBUS_REMOTE=1
|
export MOZ_DBUS_REMOTE=1
|
||||||
export KITTY_ENABLE_WAYLAND=1
|
|
||||||
export QT_QPA_PLATFORM=wayland-egl
|
export QT_QPA_PLATFORM=wayland-egl
|
||||||
export CLUTTER_BACKEND=wayland
|
export CLUTTER_BACKEND=wayland
|
||||||
# 2020-02-10: https://github.com/swaywm/sway/wiki#issues-with-java-applications
|
# 2020-02-10: https://github.com/swaywm/sway/wiki#issues-with-java-applications
|
||||||
@ -49,10 +48,6 @@ fi
|
|||||||
{%@@ if profile == "balozi" @@%}
|
{%@@ if profile == "balozi" @@%}
|
||||||
# Enable asdf version manager zsh completions
|
# Enable asdf version manager zsh completions
|
||||||
. /opt/asdf-vm/asdf.sh
|
. /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 @@%}
|
{%@@ endif @@%}
|
||||||
|
|
||||||
alias ls='ls -F --color=auto'
|
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
|
# 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"
|
export LS_COLORS="$LS_COLORS:ow=1;7;34:st=30;44:su=30;41"
|
||||||
|
|
||||||
|
|
||||||
# Environment
|
# Environment
|
||||||
export PS1='[%n@%m: %~]$ '
|
export PS1='[%n@%m: %~]$ '
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
@ -103,6 +97,8 @@ export GPG_TTY=$(tty)
|
|||||||
# Refresh gpg-agent tty in case user switches into an X Session
|
# Refresh gpg-agent tty in case user switches into an X Session
|
||||||
gpg-connect-agent updatestartuptty /bye >/dev/null
|
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
|
# Speed up JVM start for short-lived Java programs
|
||||||
# See: https://zeroturnaround.com/rebellabs/your-maven-build-is-slow-speed-it-up/
|
# See: https://zeroturnaround.com/rebellabs/your-maven-build-is-slow-speed-it-up/
|
||||||
export MAVEN_OPTS="-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
|
export MAVEN_OPTS="-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
|
||||||
|
Loading…
Reference in New Issue
Block a user