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