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.
 
 
 
 
 
 

30 lines
775 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}/.local/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 "/tmp/$USER-tmp"