Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 13 gadiem
pirms 13 gadiem
pirms 12 gadiem
pirms 13 gadiem
pirms 13 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 13 gadiem
pirms 12 gadiem
pirms 13 gadiem
pirms 12 gadiem
pirms 13 gadiem
pirms 13 gadiem
pirms 13 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #!/bin/sh
  2. # ~/.dotfiles/profile
  3. # This not works when, for example, inherit parent ENV and load /etc/profile
  4. # again.
  5. #test -n "$DOTFILES_PROFILE" && return
  6. #export DOTFILES_PROFILE=t
  7. # export PS1="\$ "
  8. export LC_TIME=C
  9. export TERMCAP="${TERMCAP}:vb="
  10. export HOSTNAME
  11. export ENV=~/.shrc
  12. mkdir -p $HOME/.local/lib/python/site-packages
  13. export PYTHONDOCS=/usr/share/doc/python/html/
  14. export PYTHONPATH="${PYTHONPATH}:\
  15. ${HOME}/my/bin/py:${HOME}/.local/lib/python/site-packages"
  16. test -f "${HOME}/.dotfiles/rc.py" && \
  17. export PYTHONSTARTUP="${HOME}/.dotfiles/rc.py"
  18. #export PYTHONPATH="~/.local/share/lib/python3.2/site-packages"
  19. __add_to_path(){
  20. for p in "$@"
  21. do
  22. echo $PATH | grep -E "^$p:|:$p:|:$p$" >/dev/null 2>&1 || \
  23. PATH="${PATH}:$p"
  24. done
  25. }
  26. # export PATH="${PATH}:${HOME}/bin"
  27. __add_to_path ${HOME}/.local/bin /c/mingw/bin /c/mingw/msys/1.0/bin
  28. # it is not so good
  29. # http://archive.linux.or.jp/JF/JFdocs/Program-Library-HOWTO/shared-libraries.html
  30. export LD_LIBRARY_PATH="$HOME/.local/lib:$LD_LIBRARY_PATH"
  31. type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10
  32. # in my environment powerdown does not work
  33. if test -n "$TMPDIR"
  34. then
  35. export TMP=$TMPDIR
  36. else
  37. export TMP=/tmp/
  38. fi
  39. export TMP="${TMP}${USER}-tmp"
  40. export TEMP="$TMP"
  41. mkdir -p "$TMP"
  42. echo .dotfiles/profile processed.