12345678910111213141516171819202122232425262728293031323334 |
- #!/bin/bash
- # add local bin to path
- export PATH=/usr/local/bin:$PATH
- export LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_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,x11"
- export XDG_CURRENT_DESKTOP=Unity
- export WINE_FULLSCREEN_FSR=1
- export RADV_PERFTEST=gpl
- # if bashrc exists and the terminal has stdin load it
- test -t 0 && . "$HOME/.bashrc"
|