Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2014
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. ~ > cat .bash_profile
  2. # ~/.profile: executed by the command interpreter for login shells.
  3. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
  4. # exists.
  5. # see /usr/share/doc/bash/examples/startup-files for examples.
  6. # the files are located in the bash-doc package.
  7.  
  8. # if running bash
  9. if [ -n "$BASH_VERSION" ]; then
  10. # include .bashrc if it exists
  11. if [ -f "$HOME/.bashrc" ]; then
  12. . "$HOME/.bashrc"
  13. fi
  14. fi
  15.  
  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.  
  21. # Set xterm to 256 colors
  22. if [ -n "$DISPLAY" -a "$TERM" == "xterm" ]; then
  23. export TERM=xterm-256color
  24. fi
  25.  
  26. # LS_COLORS
  27. eval $(dircolors -b ~/.dircolors)
  28.  
  29. # tmux
  30. #if which tmux 2>&1 >/dev/null; then
  31. # if session is started then attach to it, if not start a new one
  32. # test -z ${TMUX} && (tmux -2 attach-session || tmux -2 new-session)
  33. #fi
  34.  
  35. # SSH agent
  36. eval $(keychain --eval --agents ssh -Q --quiet id_ecdsa)
  37.  
  38. # Automatically login to X
  39. [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && echo -e "\n1-sec sleep" && sleep 1 && exec startx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement