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.

13 jaren geleden
13 jaren geleden
13 jaren geleden
12 jaren geleden
13 jaren geleden
12 jaren geleden
13 jaren geleden
12 jaren geleden
13 jaren geleden
13 jaren geleden
13 jaren geleden
12 jaren geleden
12 jaren geleden
1234567891011121314151617181920212223242526
  1. #!/bin/sh
  2. # export PS1="\$ "
  3. # export LANG=ja_JP.UTF-8
  4. export LC_TIME=C
  5. export TERMCAP="${TERMCAP}:vb="
  6. export HOSTNAME
  7. export ENV=~/.shrc
  8. # export TMP=/tmp
  9. # export TEMP=/tmp
  10. test -f "${HOME}/.pythonrc" && export PYTHONSTARTUP="${HOME}/.pythonrc"
  11. export PYTHONPATH=~/.py
  12. addtopath(){
  13. for p in "$@"
  14. do
  15. echo $PATH | grep -E "^$p:|:$p:|:$p$" >/dev/null 2>&1 || PATH="$p:${PATH}"
  16. done
  17. }
  18. # export PATH="${PATH}:${HOME}/bin"
  19. addtopath ${HOME}/bin
  20. type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10
  21. # in my environment powerdown does not work
  22. mkdir -p ~/.backup/log