Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 

37 rader
808 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 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