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.

41 lines
1.1 KiB

5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
4 years ago
  1. FREECIV_DATA_PATH=$HOME/.config/freeciv
  2. # don't load default zshrc
  3. setopt no_global_rcs
  4. # environment variables
  5. export XDG_CONFIG_HOME="$HOME"/.config
  6. export XDG_DATA_HOME="$HOME"/.local/share
  7. export XDG_CACHE_HOME="$HOME"/.cache
  8. # move zsh config to $XDG_CONFIG_HOME
  9. export ZDOTDIR="$XDG_CONFIG_HOME"/zsh
  10. # to prevent .wine in home
  11. export WINEPREFIX="$XDG_DATA_HOME"/wineprefixes/default
  12. #for nvidia cuda, in case I should use it
  13. export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
  14. #GnuPG
  15. export GNUPGHOME="$XDG_DATA_HOME"/gnupg
  16. #gpg2 --homedir "$XDG_DATA_HOME"/gnupg
  17. # npm
  18. export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc
  19. # Java OpenJDK
  20. export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
  21. # Gradle
  22. export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
  23. # Pylint
  24. export PYLINTHOME="$XDG_CACHE_HOME"/pylint
  25. # aliases
  26. # to temporary disable them in case they override defaults,
  27. # use \.. , e.g. \ls
  28. alias ls="ls -lah --color"
  29. alias dot='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME'
  30. alias mvmkv='find . -name "*.mkv" -type f -exec mv {} ./ \;'