Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

profile 938 B

12 lat temu
13 lat temu
13 lat temu
12 lat temu
13 lat temu
12 lat temu
13 lat temu
13 lat temu
13 lat temu
12 lat temu
12 lat temu
1234567891011121314151617181920212223242526272829303132
  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. test -f "${HOME}/.pythonrc" && export PYTHONSTARTUP="${HOME}/.pythonrc"
  11. #export PYTHONPATH="~/.local/share/lib/python3.2/site-packages"
  12. __add_to_path(){
  13. for p in "$@"
  14. do
  15. echo $PATH | grep -E "^$p:|:$p:|:$p$" >/dev/null 2>&1 || PATH="${PATH}:$p"
  16. done
  17. }
  18. # export PATH="${PATH}:${HOME}/bin"
  19. __add_to_path ${HOME}/.local/bin /c/mingw/bin /c/mingw/msys/1.0/bin
  20. # it is not so good http://archive.linux.or.jp/JF/JFdocs/Program-Library-HOWTO/shared-libraries.html
  21. export LD_LIBRARY_PATH="$HOME/.local/lib:$LD_LIBRARY_PATH"
  22. type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10
  23. # in my environment powerdown does not work
  24. export TMP="/tmp/${USER}-tmp"
  25. export TEMP="$TMP"
  26. mkdir -p "$TMP"