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 1.1 KiB

13 lat temu
13 lat temu
12 lat temu
13 lat temu
12 lat temu
13 lat temu
12 lat temu
13 lat temu
13 lat temu
12 lat temu
12 lat temu
12 lat temu
12 lat temu
12 lat temu
12 lat temu
12 lat temu
1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #!/bin/sh
  2. # ~/.dotfiles/profile
  3. # export PS1="\$ "
  4. export LC_TIME=C
  5. export TERMCAP="${TERMCAP}:vb="
  6. export HOSTNAME
  7. export ENV=~/.shrc
  8. mkdir -p $HOME/.local/lib/python/site-packages
  9. export PYTHONDOCS=/usr/share/doc/python/html/
  10. export PYTHONPATH="${PYTHONPATH}:\
  11. ${HOME}/my/bin/py:${HOME}/.local/lib/python/site-packages"
  12. test -f "${HOME}/.dotfiles/rc.py" && \
  13. export PYTHONSTARTUP="${HOME}/.dotfiles/rc.py"
  14. #export PYTHONPATH="~/.local/share/lib/python3.2/site-packages"
  15. __add_to_path(){
  16. for p in "$@"
  17. do
  18. echo $PATH | grep -E "^$p:|:$p:|:$p$" >/dev/null 2>&1 || \
  19. PATH="${PATH}:$p"
  20. done
  21. }
  22. # export PATH="${PATH}:${HOME}/bin"
  23. __add_to_path ${HOME}/.local/bin /c/mingw/bin /c/mingw/msys/1.0/bin
  24. # it is not so good
  25. # http://archive.linux.or.jp/JF/JFdocs/Program-Library-HOWTO/shared-libraries.html
  26. export LD_LIBRARY_PATH="$HOME/.local/lib:$LD_LIBRARY_PATH"
  27. type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10
  28. # in my environment powerdown does not work
  29. if test -n "$TMPDIR"
  30. then
  31. export TMP=$TMPDIR
  32. else
  33. export TMP=/tmp/
  34. fi
  35. export TMP="${TMP}${USER}-tmp"
  36. export TEMP="$TMP"
  37. mkdir -p "$TMP"