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.

75 lines
2.7 KiB

4 years ago
4 years ago
4 years ago
  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=nvim
  12. export OPENER=xdg-open
  13. export ANDROID_HOME=/home/yigit/Android
  14. export DEFAULT_RECIPIENT="yigitcolakoglu@hotmail.com"
  15. # Setup PATH
  16. export PATH=$ANDROID_HOME/tools:$PATH
  17. export PATH=$ANDROID_HOME/platform-tools:$PATH
  18. export PATH=$FLUTTER_HOME/bin:$PATH
  19. export PATH="$PATH:$HOME/.local/bin:$HOME/.gem/ruby/2.7.0/bin:$GOPATH/bin:$GOPATH/binexport"
  20. export CPATH=/usr/include/opencv4
  21. # Set XDG Directories
  22. export XDG_DATA_HOME="$HOME"/.local/share
  23. export XDG_CONFIG_HOME="$HOME"/.config
  24. export XDG_CACHE_HOME="$HOME"/.cache
  25. export XDG_DATA_DIRS="/usr/local/share:/usr/share"
  26. export XDG_CONFIG_DIRS="/etc/xdg"
  27. export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"
  28. export XDG_RUNTIME_DIR="/run/user/1000"
  29. # LF Icons
  30. LF_ICONS=$(sed ~/.config/lf/diricons \
  31. -e '/^[ \t]*#/d' \
  32. -e '/^[ \t]*$/d' \
  33. -e 's/[ \t]\+/=/g' \
  34. -e 's/$/ /')
  35. LF_ICONS=${LF_ICONS//$'\n'/:}
  36. export LF_ICONS
  37. # Cleanup Home Directory
  38. export CARGO_HOME="$XDG_DATA_HOME"/cargo
  39. export GOPATH="$XDG_DATA_HOME"/go
  40. export ANDROID_HOME="$XDG_DATA_HOME"/Sdk
  41. export FLUTTER_HOME="$XDG_DATA_HOME"/flutter
  42. export LEIN_HOME="$XDG_DATA_HOME"/lein
  43. export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
  44. export NVM_DIR="$XDG_DATA_HOME"/nvm
  45. export GNUPGHOME="$XDG_DATA_HOME"/gnupg
  46. export MBSYNCRC="$XDG_CONFIG_HOME"/isync/mbsyncrc
  47. export VIMINIT="set nocp | source ${XDG_CONFIG_HOME:-$HOME/.config}/vim/vimrc"
  48. export MYSQL_HISTFILE="$XDG_DATA_HOME"/mysql_history
  49. export TASKDATA="$XDG_DATA_HOME"/task
  50. export TASKRC="$XDG_CONFIG_HOME"/task/taskrc
  51. export WEECHAT_HOME="$XDG_CONFIG_HOME"/weechat
  52. export LESSKEY="$XDG_CONFIG_HOME"/less/lesskey
  53. export LESSHISTFILE=-
  54. export NOTMUCH_CONFIG="$XDG_CONFIG_HOME"/notmuch/notmuchrc
  55. export NMBGIT="$XDG_DATA_HOME"/notmuch/nmbug
  56. export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
  57. export IPYTHONDIR="$XDG_CONFIG_HOME"/jupyter
  58. export JUPYTER_CONFIG_DIR="$XDG_CONFIG_HOME"/jupyter
  59. export PYLINTHOME="$XDG_CACHE_HOME"/pylint
  60. export WGETRC="$XDG_CONFIG_HOME/wgetrc"
  61. export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
  62. export RANDFILE="$XDG_DATA_HOME"/openssl/rnd
  63. export _Z_DATA="$XDG_DATA_HOME/z"
  64. export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
  65. export WAKATIME_HOME="$XDG_CONFIG_HOME/wakatime"
  66. export XSERVERRC="$XDG_CONFIG_HOME"/X11/xserverrc
  67. export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc
  68. export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
  69. export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc