.bash_profile 927 B

123456789101112131415161718192021222324252627282930313233
  1. #!/bin/bash
  2. # add local bin to path
  3. export PATH=/usr/local/bin:$PATH
  4. # explicitly set and append to XDG_DATA_DIRS
  5. [ -z "$XDG_DATA_DIRS" ] && export XDG_DATA_DIRS="/usr/share:/usr/local/share"
  6. export XDG_DATA_DIRS="$XDG_DATA_DIRS:$HOME/.local/share"
  7. # set language, editor, augment history behavior, enable dynamic resize
  8. export LANG=en_US.UTF-8
  9. export LANGUAGE=en_US.UTF-8
  10. export EDITOR=vim
  11. export HISTFILE="$HOME/.bash_history"
  12. export HISTCONTROL=ignoreboth:erasedups
  13. shopt -s histappend
  14. shopt -s checkwinsize
  15. shopt -s direxpand
  16. # fcitx IME support
  17. export GTK_IM_MODULE=fcitx
  18. export QT_IM_MODULE=fcitx
  19. export XMODIFIERS=@im=fcitx
  20. # specify wayland for applications (primarily games)
  21. export MOZ_ENABLE_WAYLAND=1
  22. export SDL_VIDEODRIVER="wayland,x11"
  23. export XDG_CURRENT_DESKTOP=Unity
  24. export WINE_FULLSCREEN_FSR=1
  25. export RADV_PERFTEST=gpl
  26. # if bashrc exists and the terminal has stdin load it
  27. test -t 0 && . "$HOME/.bashrc"