Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

35 linhas
984 B

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