config/profile

27 lines
636 B
Bash
Executable File

export PATH="$HOME/.LinuxConfig/bin:${PATH}:$HOME/go/bin"
export EDITOR=/usr/bin/nvim
export PAGER=/bin/less
export SDL_VIDEODRIVER=wayland
export QT_QPA_PLATFORM=wayland
export ELM_DISPLAY=wl
export WLR_RENDERER=vulkan
export MOZ_ENABLE_WAYLAND=1
export XDG_CURRENT_DESKTOP=sway
# SSH agent
if [ ! -S ~/.ssh/ssh_auth_sock ]; then
eval `ssh-agent -t 300` > /dev/null
ln -sf "$SSH_AUTH_SOCK" ~/.ssh/ssh_auth_sock
fi
export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock
# Go
export GOPRIVATE="git.fuyu.moe/*/*"
# Fixes
export _JAVA_AWT_WM_NONREPARENTING=1
case "$SHELL" in
/bin/ksh | /bin/loksh | /bin/mksh) export ENV=~/.kshrc ;;
esac