You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

profile 1.2 KiB

13 vuotta sitten
12 vuotta sitten
12 vuotta sitten
11 vuotta sitten
12 vuotta sitten
13 vuotta sitten
12 vuotta sitten
12 vuotta sitten
12 vuotta sitten
13 vuotta sitten
11 vuotta sitten
11 vuotta sitten
123456789101112131415161718192021222324252627282930313233343536373839404142
  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. mkdir -p $HOME/.local/lib/python/site-packages
  18. export PYTHONDOCS=/usr/share/doc/python/html/
  19. export PYTHONPATH="${PYTHONPATH}:\
  20. ${HOME}/my/bin/py:${HOME}/.local/lib/python/site-packages"
  21. test -f "${HOME}/.dotfiles/rc.py" && \
  22. export PYTHONSTARTUP="${HOME}/.dotfiles/rc.py"
  23. #export PYTHONPATH="~/.local/share/lib/python3.2/site-packages"
  24. export GEM_HOME="$HOME/.local/lib/gems"
  25. export PATH="$PATH:$HOME/.local/lib/gems/bin"
  26. export RUBYLIB="$RUBYLIB:$HOME/.local/lib/gems/lib"
  27. #_python_pkg_conf="/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig"
  28. export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$_python_pkg_conf"
  29. #export MANPATH="`manpath`:$HOME/.local/share/man"
  30. # in my environment powerdown does not work
  31. test -z "$SSH_CONNECTION" && \
  32. type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10