No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

profile 2.0 KiB

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