.bash_profile 375 B

123456789101112131415
  1. #!/bin/bash
  2. # add local bin to path
  3. export PATH=/usr/local/bin:$PATH
  4. # add Xresources symlink if not exists
  5. [ ! -f "$HOME/.Xresources" ] && ln -s "$HOME/.Xdefaults" "$HOME/.Xresources"
  6. # fcitx IME support
  7. export GTK_IM_MODULE=fcitx
  8. export QT_IM_MODULE=fcitx
  9. export XMODIFIERS=@im=fcitx
  10. # if bashrc exists and the terminal has stdin load it
  11. test -t 0 && . "$HOME/.bashrc"