Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
2.5 KiB

  1. #!/bin/bash
  2. # Environment variables
  3. export QT_QPA_PLATFORMTHEME="qt5ct"
  4. export _JAVA_AWT_WM_NONREPARENTING=1
  5. export AWT_TOOLKIT=MToolkit
  6. export SHELL=/bin/zsh
  7. export TERMINAL=/usr/local/bin/st
  8. export TMUX_PLUGIN_MANAGER_PATH=~/.tmux/plugins
  9. export BORG_KEYS_DIR=~/.keys/borg
  10. export BROWSER="/home/yigit/.local/bin/brave-start"
  11. export EDITOR=vim
  12. export ANDROID_HOME=/home/yigit/Android
  13. export DEFAULT_RECIPIENT="yigitcolakoglu@hotmail.com"
  14. # Setup PATH
  15. export PATH=$ANDROID_HOME/tools:$PATH
  16. export PATH=$ANDROID_HOME/platform-tools:$PATH
  17. export PATH=$FLUTTER_HOME/bin:$PATH
  18. export PATH="$PATH:/home/yigit/.local/bin:/home/yigit/.gem/ruby/2.7.0/bin:$GOPATH/bin:$GOPATH/binexport:/home/yigit/.local/bin"
  19. export CPATH=/usr/include/opencv4
  20. # Set XDG Directories
  21. export XDG_DATA_HOME="$HOME"/.local/share
  22. export XDG_CONFIG_HOME="$HOME"/.config
  23. export XDG_CACHE_HOME="$HOME"/.cache
  24. export XDG_DATA_DIRS="/usr/local/share:/usr/share"
  25. export XDG_CONFIG_DIRS="/etc/xdg"
  26. # LF Icons
  27. LF_ICONS=$(sed ~/.config/lf/diricons \
  28. -e '/^[ \t]*#/d' \
  29. -e '/^[ \t]*$/d' \
  30. -e 's/[ \t]\+/=/g' \
  31. -e 's/$/ /')
  32. LF_ICONS=${LF_ICONS//$'\n'/:}
  33. export LF_ICONS
  34. # Cleanup Home Directory
  35. export CARGO_HOME="$XDG_DATA_HOME"/cargo
  36. export GOPATH="$XDG_DATA_HOME"/go
  37. export ANDROID_HOME="$XDG_DATA_HOME"/Sdk
  38. export FLUTTER_HOME="$XDG_DATA_HOME"/flutter
  39. export LEIN_HOME="$XDG_DATA_HOME"/lein
  40. export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
  41. export NVM_DIR="$XDG_DATA_HOME"/nvm
  42. export GNUPGHOME="$XDG_DATA_HOME"/gnupg
  43. export MBSYNCRC="$XDG_CONFIG_HOME"/isync/mbsyncrc
  44. export VIMINIT="set nocp | source ${XDG_CONFIG_HOME:-$HOME/.config}/vim/vimrc"
  45. export MYSQL_HISTFILE="$XDG_DATA_HOME"/mysql_history
  46. export TASKDATA="$XDG_DATA_HOME"/task
  47. export TASKRC="$XDG_CONFIG_HOME"/task/taskrc
  48. export WEECHAT_HOME="$XDG_CONFIG_HOME"/weechat
  49. export LESSKEY="$XDG_CONFIG_HOME"/less/lesskey
  50. export LESSHISTFILE=-
  51. export NOTMUCH_CONFIG="$XDG_CONFIG_HOME"/notmuch/notmuchrc
  52. export NMBGIT="$XDG_DATA_HOME"/notmuch/nmbug
  53. export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
  54. export IPYTHONDIR="$XDG_CONFIG_HOME"/jupyter
  55. export JUPYTER_CONFIG_DIR="$XDG_CONFIG_HOME"/jupyter
  56. export PYLINTHOME="$XDG_CACHE_HOME"/pylint
  57. export WGETRC="$XDG_CONFIG_HOME/wgetrc"
  58. export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
  59. export RANDFILE="$XDG_DATA_HOME"/openssl/rnd
  60. export _Z_DATA="$XDG_DATA_HOME/z"
  61. export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
  62. export WAKATIME_HOME="$XDG_CONFIG_HOME/wakatime"