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.

12 年之前
12 年之前
13 年之前
13 年之前
13 年之前
12 年之前
13 年之前
12 年之前
13 年之前
13 年之前
13 年之前
12 年之前
12 年之前
12 年之前
123456789101112131415161718192021222324252627282930313233343536
  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="${PATH}:$p"
  23. done
  24. }
  25. # export PATH="${PATH}:${HOME}/bin"
  26. __add_to_path ${HOME}/bin /c/mingw/bin /c/mingw/msys/1.0/bin
  27. type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10
  28. # in my environment powerdown does not work
  29. mkdir -p ~/.my/log
  30. mkdir -p /tmp/$USER-tmp