Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 
 

57 Zeilen
1.6 KiB

  1. #!/bin/sh
  2. # ~/.dotfiles/profile
  3. # This not works when, for example, inherit parent ENV and load /etc/profile
  4. # again.
  5. #test -n "$DOTFILES_PROFILE" && return
  6. #export DOTFILES_PROFILE=t
  7. # export PS1="\$ "
  8. export LC_TIME=C
  9. export TERMCAP="${TERMCAP}:vb="
  10. export HOSTNAME
  11. export ENV=~/.shrc
  12. mkdir -p $HOME/.local/lib/python/site-packages
  13. export PYTHONDOCS=/usr/share/doc/python/html/
  14. export PYTHONPATH="${PYTHONPATH}:\
  15. ${HOME}/my/bin/py:${HOME}/.local/lib/python/site-packages"
  16. test -f "${HOME}/.dotfiles/rc.py" && \
  17. export PYTHONSTARTUP="${HOME}/.dotfiles/rc.py"
  18. #export PYTHONPATH="~/.local/share/lib/python3.2/site-packages"
  19. __add_to_path(){
  20. for p in "$@"
  21. do
  22. echo $PATH | grep -E "^$p:|:$p:|:$p$" >/dev/null 2>&1 || \
  23. PATH="$p:${PATH}"
  24. done
  25. }
  26. # export PATH="${PATH}:${HOME}/bin"
  27. __add_to_path ${HOME}/.local/bin /c/mingw/bin /c/mingw/msys/1.0/bin
  28. # # it is not so good
  29. # # http://archive.linux.or.jp/JF/JFdocs/Program-Library-HOWTO/shared-libraries.html
  30. # # http://superuser.com/questions/324613/installing-a-library-locally-in-home-directory-but-program-doesnt-recognize-it
  31. # without this ENV i cannot run tmux. another way is to use --disable-shared
  32. # when building tmux
  33. export LD_LIBRARY_PATH="$HOME/.local/lib:$LD_LIBRARY_PATH"
  34. # this should be used when ./configure
  35. #export CFLAGS="$CFLAGS -I$HOME/.local/include"
  36. type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10
  37. # in my environment powerdown does not work
  38. if test -n "$TMPDIR"
  39. then
  40. export TMP=$TMPDIR
  41. else
  42. export TMP=/tmp/
  43. fi
  44. export TMP="${TMP}${USER}-tmp"
  45. export TEMP="$TMP"
  46. mkdir -p "$TMP"
  47. echo .dotfiles/profile processed.