summaryrefslogtreecommitdiff
path: root/.profile
blob: 0344e09e8608aa49a0d8a6b3bccecfb4a22651b0 (plain)
  1. # ~/.profile: executed by the command interpreter for login shells.
  2. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
  3. # exists.
  4. # see /usr/share/doc/bash/examples/startup-files for examples.
  5. # the files are located in the bash-doc package.
  6. # the default umask is set in /etc/profile; for setting the umask
  7. # for ssh logins, install and configure the libpam-umask package.
  8. #umask 022
  9. # if running bash
  10. if [ -n "$BASH_VERSION" ]; then
  11. # include .bashrc if it exists
  12. if [ -f "$HOME/.bashrc" ]; then
  13. . "$HOME/.bashrc"
  14. fi
  15. fi
  16. # set PATH so it includes user's private bin if it exists
  17. if [ -d "$HOME/bin" ] ; then
  18. PATH="$HOME/bin:$PATH"
  19. fi
  20. # set PATH so it includes user's private bin if it exists
  21. if [ -d "$HOME/.local/bin" ] ; then
  22. PATH="$HOME/.local/bin:$PATH"
  23. fi
  24. if [ -d /var/cache/pbuilder/ccache ]; then
  25. CCACHE_DIR="/var/cache/pbuilder/ccache"
  26. fi
  27. if [ -d /usr/lib/ccontrol ]; then
  28. PATH="/usr/lib/ccontrol:$PATH"
  29. fi
  30. #DISTCC_HOSTS="localhost 192.168.222.252"
  31. if [ -x /usr/bin/keychain ]; then
  32. eval `keychain --eval --ignore-missing id_rsa id_ed25519 2C7C3146C1A00121`
  33. else
  34. gpg-connect-agent /bye
  35. fi
  36. if [ -x /usr/bin/monkeysphere ]; then
  37. ssh-add -L | grep -q @ || monkeysphere subkey-to-ssh-agent
  38. fi