#!/bin/bash # add local bin to path export PATH=/usr/local/bin:$PATH # explicitly set and append to XDG_DATA_DIRS [ -z "$XDG_DATA_DIRS" ] && export XDG_DATA_DIRS="/usr/share:/usr/local/share" export XDG_DATA_DIRS="$XDG_DATA_DIRS:$HOME/.local/share" # set language, editor, augment history behavior, enable dynamic resize export LANG=en_US.UTF-8 export LANGUAGE=en_US.UTF-8 export EDITOR=vim export HISTFILE="$HOME/.bash_history" export HISTCONTROL=ignoreboth:erasedups shopt -s histappend shopt -s checkwinsize shopt -s direxpand # fcitx IME support export GTK_IM_MODULE=fcitx export QT_IM_MODULE=fcitx export XMODIFIERS=@im=fcitx # specify wayland for applications (primarily games) export MOZ_ENABLE_WAYLAND=1 export SDL_VIDEODRIVER="wayland" export XDG_CURRENT_DESKTOP=Unity export WINE_FULLSCREEN_FSR=1 # if bashrc exists and the terminal has stdin load it test -t 0 && . "$HOME/.bashrc"