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.

profile 854 B

12 years ago
12 years ago
13 years ago
12 years ago
13 years ago
12 years ago
13 years ago
12 years ago
13 years ago
13 years ago
13 years ago
12 years ago
12 years ago
12 years ago
12345678910111213141516171819202122232425262728293031323334353637
  1. #!/bin/sh
  2. type fortune >/dev/null 2>&1 && {
  3. echo
  4. fortune
  5. echo
  6. fortune -o
  7. echo
  8. }
  9. # export PS1="\$ "
  10. # export LANG=ja_JP.UTF-8
  11. export LC_TIME=C
  12. export TERMCAP="${TERMCAP}:vb="
  13. export HOSTNAME
  14. export ENV=~/.shrc
  15. export PYTHONDOCS=/usr/share/doc/python/html/
  16. # export TMP=/tmp
  17. # export TEMP=/tmp
  18. test -f "${HOME}/.pythonrc" && export PYTHONSTARTUP="${HOME}/.pythonrc"
  19. #export PYTHONPATH="~/.local/share/lib/python3.2/site-packages"
  20. __add_to_path(){
  21. for p in "$@"
  22. do
  23. echo $PATH | grep -E "^$p:|:$p:|:$p$" >/dev/null 2>&1 || PATH="${PATH}:$p"
  24. done
  25. }
  26. # export PATH="${PATH}:${HOME}/bin"
  27. __add_to_path ${HOME}/bin /c/mingw/bin /c/mingw/msys/1.0/bin
  28. type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10
  29. # in my environment powerdown does not work
  30. mkdir -p ~/.my/log
  31. mkdir -p /tmp/$USER-tmp