.bash_profile 898 B

1234567891011121314151617181920212223242526272829303132
  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"
  23. export XDG_CURRENT_DESKTOP=Unity
  24. export WINE_FULLSCREEN_FSR=1
  25. # if bashrc exists and the terminal has stdin load it
  26. test -t 0 && . "$HOME/.bashrc"