Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # Set common directories
  2. XDG_DATA_HOME=$HOME/.local/share
  3. XDG_CACHE_HOME=$HOME/.local/cache
  4. XDG_CONFIG_HOME=$HOME/.local/etc
  5. XDG_RUNTIME_DIR=/tmp/runtime-$USER
  6. XBPS_DISTDIR=$HOME/git/void-packages
  7. DOTS_DIR=$HOME/dot
  8. GOPATH=$XDG_DATA_HOME/go
  9. CARGO_HOME=$XDG_DATA_HOME/cargo
  10. mkdir -p $XDG_RUNTIME_DIR
  11. # Override system variables
  12. PATH=$HOME/.local/bin:$DOTS_DIR/bin:$HOME/.nimble/bin:$CARGO_HOME/bin:$GOPATH/bin:$PATH
  13. GPG_TTY=$(tty)
  14. TERMINAL='kitty -1'
  15. EDITOR=kak
  16. VISUAL=kak
  17. PAGER=less
  18. MANPAGER=less
  19. QT_QPA_PLATFORMTHEME=gtk2
  20. LESSHISTFILE='-'
  21. GTK2_RC_FILES=$XDG_CONFIG_HOME/gtk-2.0/gtkrc
  22. GNUPGHOME=$XDG_DATA_HOME/gnupg
  23. GPG_AGENT_INFO=$GNUPGHOME/S.gpg-agent:0:1
  24. _JAVA_AWT_WM_NONREPARENTING=1
  25. _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true'
  26. unset LS_COLORS
  27. # Mass export
  28. export \
  29. XDG_DATA_HOME XDG_RUNTIME_DIR XDG_CACHE_HOME XDG_CONFIG_HOME XDG_RUNTIME_DIR \
  30. XBPS_DISTDIR DOTS_DIR GTK2_RC_FILES TERMINAL EDITOR VISUAL PAGER MANPAGER \
  31. GOPATH CARGO_HOME GPG_TTY GPG_AGENT_INFO GNUPGHOME QT_QPA_PLATFORMTHEME \
  32. _JAVA_AWT_WM_NONREPARENTING _JAVA_OPTIONS LESSHISTFILE
  33. # Init sharable {ssh,gpg}-agent
  34. if [ -z "$SSH_AUTH_SOCK" ]; then
  35. if ! pgrep -xu "$(id -u)" gpg-agent >/dev/null; then
  36. gpg-agent -q --daemon >"$XDG_CACHE_HOME/ssh-env"
  37. fi
  38. . "$XDG_CACHE_HOME/ssh-env"
  39. fi
  40. # Sensitive info
  41. . $HOME/sns/profile
  42. # Start X or shell
  43. if [ "$GPG_TTY" = /dev/tty1 ]; then
  44. exec dbus-launch sx
  45. fi
  46. exec elvish