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 824 B

12 years ago
12 years ago
13 years ago
13 years ago
13 years ago
12 years ago
13 years ago
12 years ago
13 years ago
12 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 TMP=/tmp
  16. # export TEMP=/tmp
  17. test -f "${HOME}/.pythonrc" && export PYTHONSTARTUP="${HOME}/.pythonrc"
  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 || PATH="$p:${PATH}"
  23. done
  24. }
  25. # export PATH="${PATH}:${HOME}/bin"
  26. __add_to_path ${HOME}/bin
  27. #PATH="/c/mingw/bin/:$PATH:/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