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.

31 lines
830 B

  1. #!/bin/bash
  2. [[ -f ~/.bashrc ]] && . ~/.bashrc
  3. # if running bash
  4. if [ -n "$BASH_VERSION" ]; then
  5. # include .bashrc if it exists
  6. if [ -f "$HOME/.bashrc" ]; then
  7. . "$HOME/.bashrc"
  8. fi
  9. fi
  10. export GOPATH="$HOME/code/go"
  11. export PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/share/games:/usr/local/sbin:/usr/sbin:/sbin:~/.local/bin:/usr/local/go/bin:$GOPATH/bin"
  12. # set PATH so it includes user's private bin if it exists
  13. if [ -d "$HOME/.local/bin" ] ; then
  14. PATH="$PATH:$(du "$HOME/.local/bin/" | cut -f2 | tr '\n' ':')"
  15. fi
  16. export TERMINAL='st'
  17. export EDITOR='vim'
  18. export PAGER='less'
  19. export BROWSER='firefox'
  20. export PULSE_PROP="filter.want=echo-cancel"
  21. export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/cuda/lib64"
  22. export CUDA_HOME="/opt/cuda"
  23. [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx