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.
 
 
 
 
 
 

31 rader
787 B

  1. #!/bin/sh
  2. # ~/.dotfiles/profile
  3. # export PS1="\$ "
  4. # export LANG=ja_JP.UTF-8
  5. export LC_TIME=C
  6. export TERMCAP="${TERMCAP}:vb="
  7. export HOSTNAME
  8. export ENV=~/.shrc
  9. export PYTHONDOCS=/usr/share/doc/python/html/
  10. # export TMP=/tmp
  11. # export TEMP=/tmp
  12. test -f "${HOME}/.pythonrc" && export PYTHONSTARTUP="${HOME}/.pythonrc"
  13. #export PYTHONPATH="~/.local/share/lib/python3.2/site-packages"
  14. __add_to_path(){
  15. for p in "$@"
  16. do
  17. echo $PATH | grep -E "^$p:|:$p:|:$p$" >/dev/null 2>&1 || PATH="${PATH}:$p"
  18. done
  19. }
  20. # export PATH="${PATH}:${HOME}/bin"
  21. __add_to_path ${HOME}/bin /c/mingw/bin /c/mingw/msys/1.0/bin
  22. type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10
  23. # in my environment powerdown does not work
  24. mkdir -p ~/.my/log
  25. mkdir -p "/tmp/$USER-tmp"