.profile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # ~/.profile: executed by the command interpreter for login shells.
  2. # the default umask is set in /etc/profile; for setting the umask
  3. # for ssh logins, install and configure the libpam-umask package.
  4. #umask 022
  5. source /etc/profile
  6. export GOPATH="$HOME/go"
  7. export PATH="/usr/lib/distcc/bin:$PATH:$HOME/.cargo/bin:$GOPATH/bin:$HOME/.scripts:$HOME/bin"
  8. export BROWSER="firefox"
  9. export TERMINAL="st"
  10. export READER="zathura"
  11. export MAKEFLAGS="-j$(nproc)"
  12. export EDITOR="nvim"
  13. export LESSOPEN="|lesspipe.sh %s"
  14. export GTK_THEME=Adwaita:dark
  15. # less colors
  16. export LESS=-R
  17. export LESS_TERMCAP_mb=$(tput bold; tput setaf 2) # green
  18. export LESS_TERMCAP_md=$(tput bold; tput setaf 6) # cyan
  19. export LESS_TERMCAP_me=$(tput sgr0)
  20. export LESS_TERMCAP_so=$(tput bold; tput setaf 3; tput setab 4) # yellow on blue
  21. export LESS_TERMCAP_se=$(tput rmso; tput sgr0)
  22. export LESS_TERMCAP_us=$(tput smul; tput bold; tput setaf 7) # white
  23. export LESS_TERMCAP_ue=$(tput rmul; tput sgr0)
  24. export LESS_TERMCAP_mr=$(tput rev)
  25. export LESS_TERMCAP_mh=$(tput dim)
  26. export LESS_TERMCAP_ZN=$(tput ssubm)
  27. export LESS_TERMCAP_ZV=$(tput rsubm)
  28. export LESS_TERMCAP_ZO=$(tput ssupm)
  29. export LESS_TERMCAP_ZW=$(tput rsupm)
  30. # Start graphical server if Xorg not already running.
  31. [ "$(tty)" = "/dev/tty1" ] && ! pgrep -x Xorg >/dev/null && exec startx