25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 
 

38 satır
854 B

  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