# environment variables ## system BROWSER=firefox; export BROWSER CC=cc; export CC EDITOR=nvim; export EDITOR LD_LIBRARY_PATH="$HOME/.local/lib:$LD_LIBRARY_PATH"; export LD_LIBRARY_PATH PAGER=less; export PAGER PATH="$HOME/.local/bin:$HOME/.local/games:$PATH"; export PATH ## XDG XDG_CACHE_HOME="$HOME/.var/cache"; export XDG_CACHE_HOME XDG_CONFIG_HOME="$HOME/.local/etc"; export XDG_CONFIG_HOME XDG_DATA_HOME="$HOME/.local/share"; export XDG_DATA_HOME XDG_STATE_HOME="$HOME/.local/state"; export XDG_STATE_HOME XDG_DESKTOP_DIR="$HOME/desktop"; export XDG_DESKTOP_DIR XDG_DOCUMENTS_DIR="$HOME/documents"; export XDG_DOCUMENTS_DIR XDG_DOWNLOAD_DIR="$HOME/downloads"; export XDG_DOWNLOAD_DIR XDG_MUSIC_DIR="$HOME/music"; export XDG_MUSIC_DIR XDG_PICTURES_DIR="$HOME/pictures"; export XDG_PICTURES_DIR XDG_PUBLICSHARE_DIR="$HOME/public"; export XDG_PUBLICSHARE_DIR XDG_SCREENSHOTS_DIR="$XDG_PICTURES_DIR/screenshots"; export XDG_SCREENSHOTS_DIR XDG_TEMPLATES_DIR="$HOME/templates"; export XDG_TEMPLATES_DIR XDG_VIDEOS_DIR="$HOME/videos"; export XDG_VIDEOS_DIR ## programming environment CARGO_HOME="$XDG_DATA_HOME/cargo"; export CARGO_HOME GOPATH="$XDG_DATA_HOME/go"; export GOPATH RUSTUP_HOME="$XDG_DATA_HOME/rustup"; export RUSTUP_HOME CMAKE_EXE_LINKER_FLAGS="-fuse-ld=mold"; export CMAKE_EXE_LINKER_FLAGS CMAKE_MODULE_LINKER_FLAGS="-fuse-ld=mold"; export CMAKE_MODULE_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS="-fuse-ld=mold"; export CMAKE_SHARED_LINKER_FLAGS CMAKE_STATIC_LINKER_FLAGS="-fuse-ld=mold"; export CMAKE_STATIC_LINKER_FLAGS ## misc LIBVA_DRIVER_NAME=radeonsi; export LIBVA_DRIVER_NAME MOZ_ENABLE_WAYLAND=1; export MOZ_ENABLE_WAYLAND QT_QPA_PLATFORM=wayland; export QT_QPA_PLATFORM QT_QPA_PLATFORMTHEME=qt5ct; export QT_QPA_PLATFORMTHEME GTK_IM_MODULE=ibus; export GTK_IM_MODULE QT_IM_MODULE=ibus; export QT_IM_MODULE XMODIFIERS=@im=ibus; export XMODIFIERS # aliases alias weather="curl 'wttr.in/?0'" alias vi="busybox vi" # zsh configuration settings case "$SHELL" in /bin/sh || */dash ) set -o vi PS1='$ ' ;; esac