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.

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