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
12 jaren geleden
13 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
12 jaren geleden
13 jaren geleden
12 jaren geleden
12 jaren geleden
12 jaren geleden
12345678910111213141516171819202122232425262728293031
  1. #!/bin/sh
  2. # ~/.dotfiles/profile
  3. # export PS1="\$ "
  4. export LC_TIME=C
  5. export TERMCAP="${TERMCAP}:vb="
  6. export HOSTNAME
  7. export ENV=~/.shrc
  8. export PYTHONDOCS=/usr/share/doc/python/html/
  9. test -f "${HOME}/.pythonrc" && export PYTHONSTARTUP="${HOME}/.pythonrc"
  10. #export PYTHONPATH="~/.local/share/lib/python3.2/site-packages"
  11. __add_to_path(){
  12. for p in "$@"
  13. do
  14. echo $PATH | grep -E "^$p:|:$p:|:$p$" >/dev/null 2>&1 || PATH="${PATH}:$p"
  15. done
  16. }
  17. # export PATH="${PATH}:${HOME}/bin"
  18. __add_to_path ${HOME}/.local/bin /c/mingw/bin /c/mingw/msys/1.0/bin
  19. # it is not so good http://archive.linux.or.jp/JF/JFdocs/Program-Library-HOWTO/shared-libraries.html
  20. export LD_LIBRARY_PATH="$HOME/.local/lib:$LD_LIBRARY_PATH"
  21. type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10
  22. # in my environment powerdown does not work
  23. export TMP="/tmp/${USER}-tmp"
  24. export TEMP="$TMP"
  25. mkdir -p "$TMP"