Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~ > cat .bash_profile
- # ~/.profile: executed by the command interpreter for login shells.
- # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
- # exists.
- # see /usr/share/doc/bash/examples/startup-files for examples.
- # the files are located in the bash-doc package.
- # if running bash
- if [ -n "$BASH_VERSION" ]; then
- # include .bashrc if it exists
- if [ -f "$HOME/.bashrc" ]; then
- . "$HOME/.bashrc"
- fi
- fi
- # set PATH so it includes user's private bin if it exists
- if [ -d "$HOME/bin" ] ; then
- PATH="$HOME/bin:$PATH"
- fi
- # Set xterm to 256 colors
- if [ -n "$DISPLAY" -a "$TERM" == "xterm" ]; then
- export TERM=xterm-256color
- fi
- # LS_COLORS
- eval $(dircolors -b ~/.dircolors)
- # tmux
- #if which tmux 2>&1 >/dev/null; then
- # if session is started then attach to it, if not start a new one
- # test -z ${TMUX} && (tmux -2 attach-session || tmux -2 new-session)
- #fi
- # SSH agent
- eval $(keychain --eval --agents ssh -Q --quiet id_ecdsa)
- # Automatically login to X
- [[ -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