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.
 
 
 
 
 
 

40 satır
879 B

  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"